Re-instate 369051.

Looks like I accidentally reverted r369051 to the old
CMake-version-specific flag when committing 369055.

llvm-svn: 369067
This commit is contained in:
Mitch Phillips 2019-08-15 23:28:33 +00:00
parent 27954c3644
commit 4be5d53a33
1 changed files with 2 additions and 1 deletions

View File

@ -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()