mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 14:24:40 +00:00
[CMAKE]
* Use the GCC compatible dialect in Clang builds. svn path=/trunk/; revision=62387
This commit is contained in:
parent
6d213f3658
commit
dd0002fc05
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ if(GCC_VERSION VERSION_GREATER 4.7)
|
||||||
add_compile_flags("-mstackrealign")
|
add_compile_flags("-mstackrealign")
|
||||||
endif()
|
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")
|
add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
|
||||||
|
|
||||||
#bug
|
#bug
|
||||||
|
|
Loading…
Reference in a new issue