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.
This commit is contained in:
Brad King
2011-03-02 11:17:29 -05:00
parent f72cc88c65
commit 89ea7a3d3c
4 changed files with 32 additions and 12 deletions
+2 -4
View File
@@ -1,4 +1,2 @@
SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-G -Wl,-brtl,-bnoipath") # -shared
SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-Wl,-brtl,-bnoipath,-bexpall") # +s, flag for exe link to use shared lib
SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS " ")
SET(CMAKE_SHARED_MODULE_Fortran_FLAGS " ")
include(Platform/AIX-XL)
__aix_compiler_xl(Fortran)