mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[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
This commit is contained in:
parent
485b5dea69
commit
e554086467
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user