Author: akhaldi
Date: Sun Feb 2 11:11:53 2014
New Revision: 61918
URL:
http://svn.reactos.org/svn/reactos?rev=61918&view=rev
Log:
[CMAKE/GCC]
* Add -lgcc for C++ modules too. Dedicated to Timo.
Modified:
trunk/reactos/toolchain-gcc.cmake
Modified: trunk/reactos/toolchain-gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/toolchain-gcc.cmake?rev=61…
==============================================================================
--- trunk/reactos/toolchain-gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/toolchain-gcc.cmake [iso-8859-1] Sun Feb 2 11:11:53 2014
@@ -59,7 +59,7 @@
set(CMAKE_C_STANDARD_LIBRARIES "-lgcc" CACHE STRING "Standard C
Libraries")
#MARK_AS_ADVANCED(CLEAR CMAKE_CXX_STANDARD_LIBRARIES)
-set(CMAKE_CXX_STANDARD_LIBRARIES "" CACHE STRING "Standard C++
Libraries")
+set(CMAKE_CXX_STANDARD_LIBRARIES "-lgcc" CACHE STRING "Standard C++
Libraries")
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-nostdlib
-Wl,--enable-auto-image-base,--disable-auto-import")