diff options
author | Brad King <brad.king@kitware.com> | 2011-03-02 16:17:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-03-02 16:20:50 (GMT) |
commit | 89ea7a3d3c9487eb33caaedf1b636e0af092dcc2 (patch) | |
tree | cb47bc41e95adc3735d805771b8a4c511840a78b /Modules/Platform/AIX-XL-CXX.cmake | |
parent | f72cc88c659d586cc65ac47e7807054345ccad89 (diff) | |
download | CMake-89ea7a3d3c9487eb33caaedf1b636e0af092dcc2.zip CMake-89ea7a3d3c9487eb33caaedf1b636e0af092dcc2.tar.gz CMake-89ea7a3d3c9487eb33caaedf1b636e0af092dcc2.tar.bz2 |
Factor AIX and XL compiler flags into common module
Factor duplicate flag information from Platform/AIX-XL-*.cmake into
Platform/AIX-XL.cmake and load it from the original files.
Diffstat (limited to 'Modules/Platform/AIX-XL-CXX.cmake')
-rw-r--r-- | Modules/Platform/AIX-XL-CXX.cmake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/Platform/AIX-XL-CXX.cmake b/Modules/Platform/AIX-XL-CXX.cmake index 648cb31..ef38a5f 100644 --- a/Modules/Platform/AIX-XL-CXX.cmake +++ b/Modules/Platform/AIX-XL-CXX.cmake @@ -1,4 +1,2 @@ -SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-G -Wl,-brtl,-bnoipath") # -shared -SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "-Wl,-brtl,-bnoipath,-bexpall") # +s, flag for exe link to use shared lib -SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS " ") -SET(CMAKE_SHARED_MODULE_CXX_FLAGS " ") +include(Platform/AIX-XL) +__aix_compiler_xl(CXX) |