projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce54d6a
)
[CMAKE/GCC]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 2 Feb 2014 11:11:53 +0000
(11:11 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sun, 2 Feb 2014 11:11:53 +0000
(11:11 +0000)
* Add -lgcc for C++ modules too. Dedicated to Timo.
svn path=/trunk/; revision=61918
reactos/toolchain-gcc.cmake
patch
|
blob
|
history
diff --git
a/reactos/toolchain-gcc.cmake
b/reactos/toolchain-gcc.cmake
index
ae7a5a2
..
fe74663
100644
(file)
--- a/
reactos/toolchain-gcc.cmake
+++ b/
reactos/toolchain-gcc.cmake
@@
-59,7
+59,7
@@
set(CMAKE_ASM_CREATE_STATIC_LIBRARY ${CMAKE_C_CREATE_STATIC_LIBRARY})
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")