diff options
author | Brad King <brad.king@kitware.com> | 2015-01-10 17:00:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-10 17:03:19 (GMT) |
commit | 4729547a5b2596d6997e9b9131751995dbc4695d (patch) | |
tree | 1ec67640964deeadb70a520e4b5d3a3035b1861b /Modules/Platform/Linux-XL-Fortran.cmake | |
parent | 4aa9c64511adb6e3aa1b686d07f8cbdf92dedbab (diff) | |
download | CMake-4729547a5b2596d6997e9b9131751995dbc4695d.zip CMake-4729547a5b2596d6997e9b9131751995dbc4695d.tar.gz CMake-4729547a5b2596d6997e9b9131751995dbc4695d.tar.bz2 |
XL: Fix link flags for executables on Linux with XL compilers
Use "-Wl,-export-dynamic" with XL to match the "-rdynamic" flag used
with GNU-like compilers.
Diffstat (limited to 'Modules/Platform/Linux-XL-Fortran.cmake')
-rw-r--r-- | Modules/Platform/Linux-XL-Fortran.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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") |