Skip to content

Commit

Permalink
add ELEKTRA_NO_SANITIZE_ADDRESS for gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
kodebach committed Oct 2, 2020
1 parent 0e7890c commit e8e6d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ if (ENABLE_ASAN)
set (ELEKTRA_NO_SANITIZE_INTEGER "")
set (ELEKTRA_NO_SANITIZE_UNSIGNED_INTEGER_OVERFLOW "")
set (ELEKTRA_NO_SANITIZE_UNDEFINED "__attribute__ ((no_sanitize_undefined))")
set (ELEKTRA_NO_SANITIZE_ADDRESS "")
set (ELEKTRA_NO_SANITIZE_ADDRESS "__attribute__ ((no_sanitize_address))")
endif (CMAKE_C_COMPILER_ID MATCHES "Clang")
else (ENABLE_ASAN)
set (ELEKTRA_NO_SANITIZE_INTEGER "")
Expand Down

0 comments on commit e8e6d4b

Please sign in to comment.