summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/config_SunOS
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/Release/config_SunOS')
-rw-r--r--Utilities/Release/config_SunOS8
1 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/Release/config_SunOS b/Utilities/Release/config_SunOS
index f09c5fc..95eb73b 100644
--- a/Utilities/Release/config_SunOS
+++ b/Utilities/Release/config_SunOS
@@ -1,8 +1,8 @@
PLATFORM="sparc-sunos57-static"
CURSES_LIBRARY="/usr/lib/libcurses.a"
FORM_LIBRARY="/usr/lib/libform.a"
-CC="gcc"
-CXX="c++"
+CC="cc"
+CXX="CC"
# Write entries into the cache file before building cmake.
write_cache()
@@ -10,12 +10,12 @@ write_cache()
BINDIR=`pwd`
cat > UserMakeRules.cmake <<EOF
-SET(CMAKE_DL_LIBS "")
+SET(CMAKE_DL_LIBS "-Bdynamic -ldl -Bstatic")
EOF
cat > CMakeCache.txt <<EOF
BUILD_TESTING:BOOL=ON
-CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-Bdynamic -ldl -Wl,-Bstatic
+CMAKE_EXE_LINKER_FLAGS:STRING=-Bstatic
CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
CMAKE_SKIP_RPATH:BOOL=1
CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE