summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-12-18 13:31:21 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-12-18 13:31:21 (GMT)
commit6d71c2cacc89fc8b59fb6e356b42cd2b4c45c78f (patch)
treead3bd58d1e2bd87eb820aafe517ada7d9ed160ff
parent479c0a38d0d4b8915556f8c96596de1e451a4d89 (diff)
downloadhdf5-6d71c2cacc89fc8b59fb6e356b42cd2b4c45c78f.zip
hdf5-6d71c2cacc89fc8b59fb6e356b42cd2b4c45c78f.tar.gz
hdf5-6d71c2cacc89fc8b59fb6e356b42cd2b4c45c78f.tar.bz2
[svn-r3148] Purpose:
Bug fix Description: TFLOPS was configured to use '-g' flag even when --enable-production option was used. It was because configure hard set CFLAGS to '-g' if it is a valid C compiler option and if $CFLAGS is not set yet. This is not noticed in other platforms because the config/* files they all set CFLAGS in one form or another. Solution: This is a bug in configure but it is risky to change it so close to code release. Instead, just set CFLAGS in this file to bypass the configure bug which should be squashed after code release. Platform tested: Tflops with parallel, both debug and production modes.
-rw-r--r--config/intel-osf13
1 files changed, 3 insertions, 0 deletions
diff --git a/config/intel-osf1 b/config/intel-osf1
index 0b50c4f..6eada3f 100644
--- a/config/intel-osf1
+++ b/config/intel-osf1
@@ -27,6 +27,9 @@ LDFLAGS="$LDFLAGS -lnoop_stubs"
RUNSERIAL="yod -sz 1"
RUNPARALLEL="yod -sz 8"
+# CFLAGS must be set else configure set it to -g
+CFLAGS="$CFLAGS"
+
# What must *always* be present for things to compile correctly?
#CPPFLAGS="$CPPFLAGS -I."