summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/gwp_asan/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/gwp_asan/CMakeLists.txt b/compiler-rt/lib/gwp_asan/CMakeLists.txt
index f28049abf3f..d32080fb6bc 100644
--- a/compiler-rt/lib/gwp_asan/CMakeLists.txt
+++ b/compiler-rt/lib/gwp_asan/CMakeLists.txt
@@ -108,7 +108,8 @@ if (COMPILER_RT_HAS_GWP_ASAN)
PROPERTIES FOLDER "Fuzzers")
target_compile_options(stack_trace_compressor_fuzzer
PRIVATE -fsanitize=fuzzer-no-link)
- target_link_options(stack_trace_compressor_fuzzer PRIVATE -fsanitize=fuzzer)
+ set_target_properties(stack_trace_compressor_fuzzer PROPERTIES LINK_FLAGS
+ -fsanitize=fuzzer)
add_dependencies(gwp_asan stack_trace_compressor_fuzzer)
endif()
OpenPOWER on IntegriCloud