[cmake-commits] hoffman committed AIX.cmake 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 3 13:35:43 EDT 2006
Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv7367
Modified Files:
AIX.cmake
Log Message:
ENH: disable static shared stuff on AIX, see comment
Index: AIX.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/AIX.cmake,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- AIX.cmake 15 Sep 2006 19:19:11 -0000 1.15
+++ AIX.cmake 3 Oct 2006 17:35:41 -0000 1.16
@@ -42,11 +42,16 @@
SET (CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
+
+# since .a can be a static or shared library on AIX, we can not do this.
+# at some point if we wanted it, we would have to figure out if a .a is
+# static or shared, then we could add this back:
+
# 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.
-FOREACH(type SHARED_LIBRARY SHARED_MODULE EXE)
- SET(CMAKE_${type}_LINK_STATIC_C_FLAGS "-bstatic")
- SET(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-bdynamic")
-ENDFOREACH(type)
+#FOREACH(type SHARED_LIBRARY SHARED_MODULE EXE)
+# SET(CMAKE_${type}_LINK_STATIC_C_FLAGS "-bstatic")
+# SET(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-bdynamic")
+#ENDFOREACH(type)
More information about the Cmake-commits
mailing list