mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
GPURuntime: ensure compilation with C99
Otherwise, older compiler will error out on some of the C99 features we use. llvm-svn: 281159
This commit is contained in:
parent
1f81deee1f
commit
89fda2bde2
@ -11,6 +11,8 @@ set_target_properties(GPURuntime
|
||||
PREFIX "lib"
|
||||
)
|
||||
|
||||
set_property(TARGET GPURuntime PROPERTY C_STANDARD 99)
|
||||
|
||||
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 ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user