forked from OSchip/llvm-project
[clang-proto-fuzzer] Fix clang-proto-to-cxx build.
llvm-svn: 311592
This commit is contained in:
parent
a4bb80b211
commit
c01994b5fe
|
@ -1,5 +1,6 @@
|
|||
if( LLVM_USE_SANITIZE_COVERAGE )
|
||||
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})
|
||||
set(CXX_FLAGS_NOFUZZ ${CMAKE_CXX_FLAGS})
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=fuzzer")
|
||||
|
||||
if(CLANG_ENABLE_PROTO_FUZZER)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})
|
||||
set(CMAKE_CXX_FLAGS ${CXX_FLAGS_NOFUZZ})
|
||||
|
||||
# Hack to bypass LLVM's CMake source checks so we can have both a library and
|
||||
# an executable built from this directory.
|
||||
|
|
Loading…
Reference in New Issue