diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2012-09-27 21:07:43 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2012-09-27 21:07:43 (GMT) |
commit | e55408646790640b2b089f1f56a03edd86492efd (patch) | |
tree | 9077fdf38ffcd200393637cc65f5ac0b75fad266 | |
parent | 485b5dea6937fd23b60e101084587763036a7ea6 (diff) | |
download | hdf5-e55408646790640b2b089f1f56a03edd86492efd.zip hdf5-e55408646790640b2b089f1f56a03edd86492efd.tar.gz hdf5-e55408646790640b2b089f1f56a03edd86492efd.tar.bz2 |
[svn-r22830] 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
-rw-r--r-- | config/ibm-aix | 8 |
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 |