mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 14:50:26 +00:00
Do not compile GPU library with sanitizers
llvm-svn: 243411
This commit is contained in:
parent
43bf4553fd
commit
9696a3f903
@ -11,4 +11,7 @@ set_target_properties(GPURuntime
|
||||
PREFIX "lib"
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=default")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=default ")
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-sanitize=all ")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user