Hey Amine
Is there any reason to not use our own mingwex build ?
Le 09/09/2014 20:11, akhaldi(a)svn.reactos.org a écrit :
Author: akhaldi
Date: Tue Sep 9 18:11:10 2014
New Revision: 64094
URL:
http://svn.reactos.org/svn/reactos?rev=64094&view=rev
Log:
[CMAKE/CLANG]
* Globally link mingwex for C modules.
CORE-8516
Modified:
trunk/reactos/toolchain-clang.cmake
Modified: trunk/reactos/toolchain-clang.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/toolchain-clang.cmake?rev=…
==============================================================================
--- trunk/reactos/toolchain-clang.cmake [iso-8859-1] (original)
+++ trunk/reactos/toolchain-clang.cmake [iso-8859-1] Tue Sep 9 18:11:10 2014
@@ -56,7 +56,7 @@
set(CMAKE_ASM_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})
# Don't link with anything by default unless we say so
-set(CMAKE_C_STANDARD_LIBRARIES "-lgcc" CACHE STRING "Standard C
Libraries")
+set(CMAKE_C_STANDARD_LIBRARIES "-lmingwex -lgcc" CACHE STRING "Standard C
Libraries")
#MARK_AS_ADVANCED(CLEAR CMAKE_CXX_STANDARD_LIBRARIES)
set(CMAKE_CXX_STANDARD_LIBRARIES "-lgcc" CACHE STRING "Standard C++
Libraries")