summaryrefslogtreecommitdiffstats
path: root/config/powerpc-ibm-aix4.x
diff options
context:
space:
mode:
Diffstat (limited to 'config/powerpc-ibm-aix4.x')
-rw-r--r--config/powerpc-ibm-aix4.x6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/powerpc-ibm-aix4.x b/config/powerpc-ibm-aix4.x
index c5af6df..7fc6994 100644
--- a/config/powerpc-ibm-aix4.x
+++ b/config/powerpc-ibm-aix4.x
@@ -27,6 +27,9 @@
#CFLAGS="$CFLAGS -ansi"
#CPPFLAGS="$CPPFLAGS -I."
+# CFLAGS must be set else configure set it to -g
+CFLAGS="$CFLAGS"
+
# What compiler flags should be used for code development?
DEBUG_CFLAGS=
DEBUG_CPPFLAGS=
@@ -101,8 +104,7 @@ fi
if test "X-" = "X-$f9x_flags_set"; then
F9XSUFFIXFLAG="-qsuffix=f=f90"
- FCFLAGS="$FCFLAGS ${F9XSUFFIXFLAG} -k"
- H5_FCFLAGS="$H5_FCFLAGS -static -qmoddir=./"
+ FCFLAGS="$FCFLAGS -static -O ${F9XSUFFIXFLAG} -qmoddir=./ -k"
FSEARCH_DIRS="-I./ -I../src"
DEBUG_FCFLAGS="-O"
PROD_FCFLAGS="-O"