mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user