summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-09 17:48:36 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-09 17:48:36 (GMT)
commiteb1e0c36cb388b2f402e1445b032505fa042f078 (patch)
treedcc5cf90ed1556821ac88d8a83e778872c7241fc /Utilities/Release/release_cmake.sh.in
parentf294f7ea9686feeb328d37c789db0462797a5f34 (diff)
downloadCMake-eb1e0c36cb388b2f402e1445b032505fa042f078.zip
CMake-eb1e0c36cb388b2f402e1445b032505fa042f078.tar.gz
CMake-eb1e0c36cb388b2f402e1445b032505fa042f078.tar.bz2
ENH: add 64 bit sgi
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index 2dce3cd..77a3752 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -24,9 +24,20 @@ if [ ! -z "@CXX@" ]; then
export CXX="@CXX@"
check_exit_value $? "set CC compiler env var" || exit 1
fi
+
if [ ! -z "@LDFLAGS@" ]; then
export LDFLAGS="@LDFLAGS@"
- check_exit_value $? "set CC compiler env var" || exit 1
+ check_exit_value $? "set LDFLAGS env var" || exit 1
+fi
+
+if [ ! -z "@CFLAGS@" ]; then
+ export CFLAGS="@CFLAGS@"
+ check_exit_value $? "set CFLAGS env var" || exit 1
+fi
+
+if [ ! -z "@CXXFLAGS@" ]; then
+ export CXXFLAGS="@CXXFLAGS@"
+ check_exit_value $? "setCXXFLAGS env var" || exit 1
fi
if [ ! -z "@USER_MAKE_RULE_FILE_CONTENTS@" ]; then