summaryrefslogtreecommitdiff
path: root/lib/gwp_asan
diff options
context:
space:
mode:
authorMitch Phillips <mitchphillips@outlook.com>2019-08-15 23:28:33 +0000
committerMitch Phillips <mitchphillips@outlook.com>2019-08-15 23:28:33 +0000
commit448a9bb9fd0b34c6936965d2a99f0819783bcff7 (patch)
tree0ea4e1f86b77fe07f30846debadab475c2445bd9 /lib/gwp_asan
parent00b7ce8db160a71d152240e86e4993c6dad281f1 (diff)
downloadcompiler-rt-448a9bb9fd0b34c6936965d2a99f0819783bcff7.tar.gz
Re-instate 369051.
Looks like I accidentally reverted r369051 to the old CMake-version-specific flag when committing 369055. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@369067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/gwp_asan')
-rw-r--r--lib/gwp_asan/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gwp_asan/CMakeLists.txt b/lib/gwp_asan/CMakeLists.txt
index 53927e193..fce18f371 100644
--- a/lib/gwp_asan/CMakeLists.txt
+++ b/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()