[ros-dev] [ros-diffs] [akhaldi] 64094: [CMAKE/CLANG] * Globally link mingwex for C modules. CORE-8516

Jérôme Gardou jerome.gardou at reactos.org
Tue Sep 9 19:16:55 UTC 2014


Hey Amine

Is there any reason to not use our own mingwex build ?

Le 09/09/2014 20:11, akhaldi at 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=64094&r1=64093&r2=64094&view=diff
> ==============================================================================
> --- 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")
>
>




More information about the Ros-dev mailing list