diff options
author | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
---|---|---|
committer | Fabio Rossi <[email protected]> | 2018-12-17 17:07:38 +0100 |
commit | 3cad9663dfd66a3787b16ca2a396f0a709946ee1 (patch) | |
tree | 80ad40cbbd7b27e837012e84ebe2ef26513feac1 | |
parent | 836697f3057c3fbde267abeef108948d9486a8d5 (diff) | |
download | tdebase-3cad9663dfd66a3787b16ca2a396f0a709946ee1.tar.gz tdebase-3cad9663dfd66a3787b16ca2a396f0a709946ee1.zip |
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <[email protected]>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ede3b4af..3e47a6d15 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,8 +209,8 @@ add_definitions( ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) -set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) -set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) +set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) +set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ) check_type_size( "long long" LONG_LONG ) |