summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2012-09-27 21:08:30 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2012-09-27 21:08:30 (GMT)
commit4148444e6055138c0b4165a0751d424457142164 (patch)
tree391d77e5c4d921ae31a74dccee3a2358e961c40f /config
parent31e931ce260841714a81af7e98fb3f926651b0db (diff)
downloadhdf5-4148444e6055138c0b4165a0751d424457142164.zip
hdf5-4148444e6055138c0b4165a0751d424457142164.tar.gz
hdf5-4148444e6055138c0b4165a0751d424457142164.tar.bz2
[svn-r22831] Bug fix: HDFFV-8069 AIX config file Fortran flags need fix
Description: The Fortran compiler flags were all set to "-O". They should be different setting for different situations. E.g, "-g" for debug and "-pg" for profile, etc. Fix: set them to appropriate different values. Tested: in Remote ADA AIX machines using 3 different settings: configure --enable-fortran --enable-cxx # default to --disable-production configure --enable-fortran --enable-cxx --enable-production configure --enable-fortran --enable-cxx --disable-production
Diffstat (limited to 'config')
-rw-r--r--config/ibm-aix8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/ibm-aix b/config/ibm-aix
index c8b1fc3..28498e2 100644
--- a/config/ibm-aix
+++ b/config/ibm-aix
@@ -56,12 +56,12 @@ fi
# to ensure the flag is present for both configure as well as for the build.
if test "X-" = "X-$f9x_flags_set"; then
F9XSUFFIXFLAG="-qsuffix=f=f90"
- FCFLAGS="$FCFLAGS -O ${F9XSUFFIXFLAG}"
- H5_FCFLAGS="$H5_FCFLAGS -O ${F9XSUFFIXFLAG}"
+ FCFLAGS="$FCFLAGS ${F9XSUFFIXFLAG}"
+ H5_FCFLAGS="$H5_FCFLAGS ${F9XSUFFIXFLAG}"
FSEARCH_DIRS="-I./ -I../src"
- DEBUG_FCFLAGS="-O"
+ DEBUG_FCFLAGS="-g"
PROD_FCFLAGS="-O"
- PROFILE_FCFLAGS="-O"
+ PROFILE_FCFLAGS="-g -pg"
f9x_flags_set=yes
fi