From 6d71c2cacc89fc8b59fb6e356b42cd2b4c45c78f Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 18 Dec 2000 08:31:21 -0500 Subject: [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. --- config/intel-osf1 | 3 +++ 1 file changed, 3 insertions(+) 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." -- cgit v0.12