diff options
author | Brad King <brad.king@kitware.com> | 2015-01-11 19:58:34 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-01-11 19:58:34 (GMT) |
commit | 16d68daccb41ca97b42c0074f0de35a53448d8b7 (patch) | |
tree | b39c2b5cc68573bfc31558cba8246c270acf4f6f /Modules/Platform | |
parent | 30289e07ce138598e813ae24d37d7191b2eb9935 (diff) | |
parent | 4729547a5b2596d6997e9b9131751995dbc4695d (diff) | |
download | CMake-16d68daccb41ca97b42c0074f0de35a53448d8b7.zip CMake-16d68daccb41ca97b42c0074f0de35a53448d8b7.tar.gz CMake-16d68daccb41ca97b42c0074f0de35a53448d8b7.tar.bz2 |
Merge topic 'linux-XL-fortran'
4729547a XL: Fix link flags for executables on Linux with XL compilers
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Linux-XL-C.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/Linux-XL-CXX.cmake | 1 | ||||
-rw-r--r-- | Modules/Platform/Linux-XL-Fortran.cmake | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-XL-C.cmake b/Modules/Platform/Linux-XL-C.cmake index f1c584c..d595e44 100644 --- a/Modules/Platform/Linux-XL-C.cmake +++ b/Modules/Platform/Linux-XL-C.cmake @@ -1 +1,2 @@ set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj") +set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-export-dynamic") diff --git a/Modules/Platform/Linux-XL-CXX.cmake b/Modules/Platform/Linux-XL-CXX.cmake index abd3fa4..5ceb255 100644 --- a/Modules/Platform/Linux-XL-CXX.cmake +++ b/Modules/Platform/Linux-XL-CXX.cmake @@ -1 +1,2 @@ set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-qmkshrobj") +set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "-Wl,-export-dynamic") diff --git a/Modules/Platform/Linux-XL-Fortran.cmake b/Modules/Platform/Linux-XL-Fortran.cmake index cdd1f70..a878991 100644 --- a/Modules/Platform/Linux-XL-Fortran.cmake +++ b/Modules/Platform/Linux-XL-Fortran.cmake @@ -1 +1,2 @@ set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-qmkshrobj") +set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-Wl,-export-dynamic") |