From e55408646790640b2b089f1f56a03edd86492efd Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 27 Sep 2012 16:07:43 -0500 Subject: [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 --- config/ibm-aix | 8 ++++---- 1 file 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 -- cgit v0.12