static asan and reorder forward/open

This commit is contained in:
2024-08-10 10:53:57 +02:00
parent b48d7e3cfd
commit b133c5f79f
3 changed files with 26 additions and 26 deletions

View File

@ -30,6 +30,7 @@ if (TOMATO_ASAN)
#link_libraries(-fsanitize=address)
link_libraries(-fsanitize=address,undefined)
#link_libraries(-fsanitize=undefined)
link_libraries(-static-libasan) # make it "work" on nix
message("II enabled ASAN")
else()
message("!! can not enable ASAN on this platform (gcc/clang + win)")