mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[CMAKE]
* Use the GCC compatible dialect in Clang builds. svn path=/trunk/; revision=62387
This commit is contained in:
@@ -31,6 +31,10 @@ if(GCC_VERSION VERSION_GREATER 4.7)
|
||||
add_compile_flags("-mstackrealign")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_flags_language("-std=gnu89" "C")
|
||||
endif()
|
||||
|
||||
add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
|
||||
|
||||
#bug
|
||||
|
||||
Reference in New Issue
Block a user