projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ca2f7
)
[CMAKE/CLANG]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Tue, 9 Sep 2014 18:42:43 +0000
(18:42 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Tue, 9 Sep 2014 18:42:43 +0000
(18:42 +0000)
* Add -Wno-microsoft only for C modules at the moment (as we're using g++ for c++ modules).
CORE-8516
svn path=/trunk/; revision=64097
reactos/cmake/gcc.cmake
patch
|
blob
|
history
diff --git
a/reactos/cmake/gcc.cmake
b/reactos/cmake/gcc.cmake
index
0ab9a7c
..
796ebaf
100644
(file)
--- a/
reactos/cmake/gcc.cmake
+++ b/
reactos/cmake/gcc.cmake
@@
-32,8
+32,7
@@
if(GCC_VERSION VERSION_GREATER 4.7)
endif()
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
- add_compile_flags_language("-std=gnu89" "C")
- add_compile_flags("-Wno-microsoft")
+ add_compile_flags_language("-std=gnu89 -Wno-microsoft" "C")
set(CMAKE_LINK_DEF_FILE_FLAG "")
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
set(CMAKE_LINK_LIBRARY_SUFFIX "")