diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/powerpc-ibm-aix4.x | 6 | ||||
-rw-r--r-- | config/powerpc-ibm-aix5.x | 9 |
2 files changed, 8 insertions, 7 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" diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x index 2b79ca3..833ae3f 100644 --- a/config/powerpc-ibm-aix5.x +++ b/config/powerpc-ibm-aix5.x @@ -45,7 +45,7 @@ case $CC_BASENAME in # Turn off shared lib option. It causes some test suite to fail. enable_shared="${enable_shared:-no}" # Use -D_LARGE_FILES by default to support large file size. - H5_CFLAGS="$H5_CFLAGS -qlanglvl=ansi -D_LARGE_FILES -DSTDC $CFLAGS" + CFLAGS="-qlanglvl=ansi -D_LARGE_FILES -DSTDC $CFLAGS" DEBUG_CFLAGS="-g -qfullpath" DEBUG_CPPFLAGS= # -O causes test/dtypes to fail badly. Turn it off for now. @@ -60,7 +60,7 @@ case $CC_BASENAME in ;; *) - H5_CFLAGS="$H5_CFLAGS -ansi" + CFLAGS="$CFLAGS -ansi" DEBUG_CFLAGS="-g" DEBUG_CPPFLAGS= PROD_CFLAGS="-O" @@ -133,8 +133,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" @@ -154,6 +153,6 @@ CXX=${CXX=xlC} # Added -qweaksymbol to suppress linker messages warning of duplicate # symbols; these warnings are harmless. - BMR -H5_CXXFLAGS="$H5_CXXFLAGS -qweaksymbol" +CXXFLAGS="$CXXFLAGS -qweaksymbol" |