summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-02-11 18:05:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-02-11 18:05:15 (GMT)
commitdbe135f20e81cbe6e92888d86e2bc7e95f0b91dd (patch)
treea2c37d52597acfdb209f4526817b9ff2c4196716 /Utilities/Release/release_cmake.sh.in
parentb42b6a7f60899a0351566daa7d4f486a2a04a4d9 (diff)
downloadCMake-dbe135f20e81cbe6e92888d86e2bc7e95f0b91dd.zip
CMake-dbe135f20e81cbe6e92888d86e2bc7e95f0b91dd.tar.gz
CMake-dbe135f20e81cbe6e92888d86e2bc7e95f0b91dd.tar.bz2
ENH: add FFLAGS back into release script
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index 809e204..78f8056 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -35,6 +35,11 @@ if [ ! -z "@LDFLAGS@" ]; then
check_exit_value $? "set LDFLAGS env var" || exit 1
fi
+if [ ! -z "@FFLAGS@" ]; then
+ export FFLAGS="@FFLAGS@"
+ check_exit_value $? "set FFLAGS env var" || exit 1
+fi
+
if [ ! -z "@CFLAGS@" ]; then
export CFLAGS="@CFLAGS@"
check_exit_value $? "set CFLAGS env var" || exit 1