summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-23 18:39:38 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-23 18:39:38 (GMT)
commitf7d926d072a6582237282ef9a3302c8a1e8e94b1 (patch)
tree1ff4c858ede2d3e106a18d4ca7e92b5a1161e339 /Modules
parent1d031367d929636ccc83dc860221a54e6864bbf5 (diff)
downloadCMake-f7d926d072a6582237282ef9a3302c8a1e8e94b1.zip
CMake-f7d926d072a6582237282ef9a3302c8a1e8e94b1.tar.gz
CMake-f7d926d072a6582237282ef9a3302c8a1e8e94b1.tar.bz2
ENH: remove -lgcc used by crazy coverage stuff
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeCXXInformation.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeCXXInformation.cmake b/Modules/CMakeCXXInformation.cmake
index 499778e..ea8c7d0 100644
--- a/Modules/CMakeCXXInformation.cmake
+++ b/Modules/CMakeCXXInformation.cmake
@@ -126,10 +126,6 @@ IF(NOT CMAKE_CXX_CREATE_SHARED_LIBRARY)
"<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
ENDIF(NOT CMAKE_CXX_CREATE_SHARED_LIBRARY)
-IF(CMAKE_COMPILER_IS_GNUCXX)
- SET(CMAKE_CXX_CREATE_SHARED_LIBRARY "${CMAKE_CXX_CREATE_SHARED_LIBRARY} -lgcc")
-ENDIF(CMAKE_COMPILER_IS_GNUCXX)
-
# create a c++ shared module copy the shared library rule by default
IF(NOT CMAKE_CXX_CREATE_SHARED_MODULE)
SET(CMAKE_CXX_CREATE_SHARED_MODULE ${CMAKE_CXX_CREATE_SHARED_LIBRARY})