[cmake-commits] king committed HP-UX.cmake 1.23 1.24
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Sep 15 15:18:39 EDT 2006
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv24943
Modified Files:
HP-UX.cmake
Log Message:
STYLE: Updated comment about link type flags and passing directly to ld.
Index: HP-UX.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/HP-UX.cmake,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- HP-UX.cmake 15 Sep 2006 19:14:55 -0000 1.23
+++ HP-UX.cmake 15 Sep 2006 19:18:34 -0000 1.24
@@ -86,10 +86,11 @@
)
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
-# Initialize C link type selection flags. These flags are used when
-# building a shared library, shared module, or executable that links
-# to other libraries to select whether to use the static or shared
-# versions of the libraries.
+# Initialize C and CXX link type selection flags. These flags are
+# used when building a shared library, shared module, or executable
+# that links to other libraries to select whether to use the static or
+# shared versions of the libraries. Note that C modules and shared
+# libs are built using ld directly so we leave off the "-Wl," portion.
FOREACH(type SHARED_LIBRARY SHARED_MODULE)
SET(CMAKE_${type}_LINK_STATIC_C_FLAGS "-a archive")
SET(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-a default")
More information about the Cmake-commits
mailing list