Build: Disable Wstringop-truncation in GCC ASAN builds

These two options don't work well together and lead to false positives.

Follow-up on e5cac38521
This commit is contained in:
Peter Keresztes Schmidt 2021-05-28 00:08:46 +02:00
parent 824a6dc15b
commit 8379ab70be
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ if(ASAN)
-fno-omit-frame-pointer
-fsanitize=address
-fsanitize-recover=address
-fsanitize-address-use-after-scope)
-fsanitize-address-use-after-scope
-Wno-stringop-truncation)
target_link_options(zm-compile-option-interface
INTERFACE