diff options
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r-- | src/build-data/cc/gcc.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 5bcb838c9..7aeb390e1 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -16,11 +16,13 @@ shared_flags "-fPIC" coverage_flags "--coverage" stack_protector_flags "-fstack-protector" -# GCC 4.8 -sanitizer_flags "-D_GLIBCXX_DEBUG -fsanitize=address" +<sanitizers> +default -> iterator,address -# GCC 4.9 and later -#sanitizer_flags "-D_GLIBCXX_DEBUG -fsanitize=address,undefined -fno-sanitize-recover=undefined" +iterator -> "-D_GLIBCXX_DEBUG" +address -> "-fsanitize=address" +undefined -> "-fsanitize=undefined -fno-sanitize-recover=undefined" +</sanitizers> visibility_build_flags "-fvisibility=hidden" visibility_attribute '__attribute__((visibility("default")))' |