summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-01-07 18:47:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-01-07 18:47:12 (GMT)
commitbcbc8443b5db4a5c59dad4b45166913a0bccced4 (patch)
tree49c4e5e5c8dc3013621726206579c58c857f91c6 /Templates
parent2fa6a0eb44a8032982c2ff09b56c3c7bc170ff3c (diff)
downloadCMake-bcbc8443b5db4a5c59dad4b45166913a0bccced4.zip
CMake-bcbc8443b5db4a5c59dad4b45166913a0bccced4.tar.gz
CMake-bcbc8443b5db4a5c59dad4b45166913a0bccced4.tar.bz2
use -shared for sunos build
Diffstat (limited to 'Templates')
-rwxr-xr-xTemplates/configure4
-rw-r--r--Templates/configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/Templates/configure b/Templates/configure
index 8b416ba..7f00d48 100755
--- a/Templates/configure
+++ b/Templates/configure
@@ -2565,9 +2565,9 @@ fi
CMAKE_SHLIB_RUNTIME_FLAG="-R "
CMAKE_SHLIB_RUNTIME_SEP=":"
if test "$CC" = "gcc" -o `$CC -v 2>&1 | grep -c gcc` != "0" ; then
- CMAKE_SHLIB_BUILD_FLAGS='-Wl,-G'
+ CMAKE_SHLIB_BUILD_FLAGS='-shared -nostdlib'
CMAKE_SHLIB_LINK_FLAGS=''
- CMAKE_MODULE_BUILD_FLAGS='-Wl,-G'
+ CMAKE_MODULE_BUILD_FLAGS='-shared -nostdlib'
CMAKE_MODULE_LINK_FLAGS=''
CMAKE_SHLIB_RUNTIME_FLAG="-Wl,-R,"
CMAKE_SHLIB_RUNTIME_SEP=":"
diff --git a/Templates/configure.in b/Templates/configure.in
index d576ba3..3143a21 100644
--- a/Templates/configure.in
+++ b/Templates/configure.in
@@ -379,9 +379,9 @@ case $system in
CMAKE_SHLIB_RUNTIME_FLAG="-R "
CMAKE_SHLIB_RUNTIME_SEP=":"
if test "$CC" = "gcc" -o `$CC -v 2>&1 | grep -c gcc` != "0" ; then
- CMAKE_SHLIB_BUILD_FLAGS='-Wl,-G'
+ CMAKE_SHLIB_BUILD_FLAGS='-shared -nostdlib'
CMAKE_SHLIB_LINK_FLAGS=''
- CMAKE_MODULE_BUILD_FLAGS='-Wl,-G'
+ CMAKE_MODULE_BUILD_FLAGS='-shared -nostdlib'
CMAKE_MODULE_LINK_FLAGS=''
CMAKE_SHLIB_RUNTIME_FLAG="-Wl,-R,"
CMAKE_SHLIB_RUNTIME_SEP=":"