diff options
Diffstat (limited to 'compiler-rt/lib/gwp_asan/CMakeLists.txt')
| -rw-r--r-- | compiler-rt/lib/gwp_asan/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler-rt/lib/gwp_asan/CMakeLists.txt b/compiler-rt/lib/gwp_asan/CMakeLists.txt index 3db583c30d3..21b36e74933 100644 --- a/compiler-rt/lib/gwp_asan/CMakeLists.txt +++ b/compiler-rt/lib/gwp_asan/CMakeLists.txt @@ -108,8 +108,11 @@ if (COMPILER_RT_HAS_GWP_ASAN) ${GWP_ASAN_HEADERS}) set_target_properties( stack_trace_compressor_fuzzer PROPERTIES FOLDER "Fuzzers") - target_compile_options( - stack_trace_compressor_fuzzer PRIVATE -fsanitize=fuzzer-no-link) + + # TODO(phosek): Remove -nostdlib++ and remove the "no c++ standard library + # for compiler-rt" dependency here. + target_compile_options(stack_trace_compressor_fuzzer + PRIVATE -nostdlib++ -fsanitize=fuzzer-no-link) set_target_properties( stack_trace_compressor_fuzzer PROPERTIES LINK_FLAGS -fsanitize=fuzzer) add_dependencies(stack_trace_compressor_fuzzer fuzzer) |

