[Cmake-commits] [cmake-commits] king committed Linux-VisualAge-CXX.cmake NONE 1.1 Linux-XL-CXX.cmake NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Sep 16 12:33:28 EDT 2009


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv18934/Modules/Platform

Added Files:
	Linux-VisualAge-CXX.cmake Linux-XL-CXX.cmake 
Log Message:
Fix XL C++ compiler flags on Linux

In Platform/Linux.cmake we add GNU flags as default for the platform
which breaks non-GNU compilers.  Later we should refactor these flag
files to put compiler-specific flags only in files loaded for each
compiler.  Until then this commit fixes the XL C++ compiler flags on
Linux by erasing the GNU flags.  See issue #9469.


--- NEW FILE: Linux-XL-CXX.cmake ---
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj")

--- NEW FILE: Linux-VisualAge-CXX.cmake ---
include(Platform/Linux-XL-CXX)



More information about the Cmake-commits mailing list