Do not compile GPU library with sanitizers

llvm-svn: 243411
This commit is contained in:
Tobias Grosser 2015-07-28 12:51:23 +00:00
parent 43bf4553fd
commit 9696a3f903

View File

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