diff --git a/Templates/CXXCMakeSystemConfig.cmake.in b/Templates/CXXCMakeSystemConfig.cmake.in index 454212029..b9e16bd5e 100644 --- a/Templates/CXXCMakeSystemConfig.cmake.in +++ b/Templates/CXXCMakeSystemConfig.cmake.in @@ -19,7 +19,7 @@ ELSE( CMAKE_CXX_SHLIB_CFLAGS_TMP ) ENDIF( CMAKE_CXX_SHLIB_CFLAGS_TMP ) IF( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP ) - SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP} CACHE STRING "") + SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP}" CACHE STRING "") ELSE( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP ) SET(CMAKE_CXX_SHLIB_BUILD_FLAGS "${CMAKE_SHLIB_BUILD_FLAGS}" CACHE STRING "") ENDIF( CMAKE_CXX_SHLIB_BUILD_FLAGS_TMP ) diff --git a/Templates/cconfigure b/Templates/cconfigure index 10a057a81..fb73f11c8 100755 --- a/Templates/cconfigure +++ b/Templates/cconfigure @@ -2466,9 +2466,9 @@ fi CMAKE_SHLIB_SUFFIX=".sl" CMAKE_MODULE_SUFFIX=".sl" CMAKE_DL_LIBS="-ldld" - CMAKE_SHLIB_BUILD_FLAGS='+Z -E -b -L/usr/lib' + CMAKE_SHLIB_BUILD_FLAGS='-E -b -L/usr/lib' CMAKE_SHLIB_LINK_FLAGS='+s' - CMAKE_MODULE_BUILD_FLAGS='+Z -E -b -L/usr/lib' + CMAKE_MODULE_BUILD_FLAGS='-E -b -L/usr/lib' CMAKE_MODULE_LINK_FLAGS='+s' CMAKE_SHLIB_RUNTIME_FLAG='+b,' CMAKE_SHLIB_RUNTIME_SEP=':' diff --git a/Templates/cconfigure.in b/Templates/cconfigure.in index 49e34d2c2..81d022201 100644 --- a/Templates/cconfigure.in +++ b/Templates/cconfigure.in @@ -188,9 +188,9 @@ case $system in CMAKE_SHLIB_SUFFIX=".sl" CMAKE_MODULE_SUFFIX=".sl" CMAKE_DL_LIBS="-ldld" - CMAKE_SHLIB_BUILD_FLAGS='+Z -E -b -L/usr/lib' + CMAKE_SHLIB_BUILD_FLAGS='-E -b -L/usr/lib' CMAKE_SHLIB_LINK_FLAGS='+s' - CMAKE_MODULE_BUILD_FLAGS='+Z -E -b -L/usr/lib' + CMAKE_MODULE_BUILD_FLAGS='-E -b -L/usr/lib' CMAKE_MODULE_LINK_FLAGS='+s' CMAKE_SHLIB_RUNTIME_FLAG='+b,' CMAKE_SHLIB_RUNTIME_SEP=':'