mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-08 06:29:23 +00:00
Merge pull request #314 from hannob/add_no_common
Add -fno-common to ASAN (for global buffer overflows)
This commit is contained in:
commit
df5cd6e01e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ populate_environment() {
|
|||
case "${QA_SANITIZER}" in
|
||||
address)
|
||||
# http://clang.llvm.org/docs/AddressSanitizer.html
|
||||
BASE_COMPILE_FLAGS+=" -g -fsanitize=address -fno-omit-frame-pointer"
|
||||
BASE_COMPILE_FLAGS+=" -g -fsanitize=address -fno-omit-frame-pointer -fno-common"
|
||||
BASE_LINK_FLAGS+=" -g -Wc,-fsanitize=address" # "-Wc," is for libtool
|
||||
;;
|
||||
memory)
|
||||
|
|
Loading…
Add table
Reference in a new issue