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 53927e193b6..fce18f371be 100644
--- a/compiler-rt/lib/gwp_asan/CMakeLists.txt
+++ b/compiler-rt/lib/gwp_asan/CMakeLists.txt
@@ -109,7 +109,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()
endif()
OpenPOWER on IntegriCloud