diff options
author | Brad King <brad.king@kitware.com> | 2019-01-11 12:52:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-11 12:52:53 (GMT) |
commit | 283c93fe9abe481836a41eb3e565a02d215965c5 (patch) | |
tree | 667cb6288f08cb3756e896401a8144f3e7447a1a /Modules | |
parent | 9e8f2e509f61c4478f2176a03e45c1fd35537d82 (diff) | |
parent | 74720a298cec05af29f18315990f64ddfda344f6 (diff) | |
download | CMake-283c93fe9abe481836a41eb3e565a02d215965c5.zip CMake-283c93fe9abe481836a41eb3e565a02d215965c5.tar.gz CMake-283c93fe9abe481836a41eb3e565a02d215965c5.tar.bz2 |
Merge topic 'xl-early-bE'
74720a298c XL: Move '-bE' flag earlier so it can be overridden
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2771
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/XL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/XL.cmake b/Modules/Compiler/XL.cmake index 21fe5e8..68dc28a 100644 --- a/Modules/Compiler/XL.cmake +++ b/Modules/Compiler/XL.cmake @@ -48,7 +48,7 @@ macro(__compiler_xl lang) # files so that we export only the symbols actually provided by the sources. set(CMAKE_${lang}_CREATE_SHARED_LIBRARY "${CMAKE_XL_CreateExportList} <OBJECT_DIR>/objects.exp <OBJECTS>" - "<CMAKE_${lang}_COMPILER> <CMAKE_SHARED_LIBRARY_${lang}_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS> -Wl,-bE:<OBJECT_DIR>/objects.exp <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>" + "<CMAKE_${lang}_COMPILER> <CMAKE_SHARED_LIBRARY_${lang}_FLAGS> -Wl,-bE:<OBJECT_DIR>/objects.exp <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>" ) endif() endmacro() |