summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/powerpc-ibm-aix5.x8
1 files changed, 4 insertions, 4 deletions
diff --git a/fortran/config/powerpc-ibm-aix5.x b/fortran/config/powerpc-ibm-aix5.x
index 6efb1e8..80ea78c 100644
--- a/fortran/config/powerpc-ibm-aix5.x
+++ b/fortran/config/powerpc-ibm-aix5.x
@@ -8,10 +8,10 @@
# Use -D_LARGE_FILES by default to support large file size.
if test "X-" = "X-$CC"; then
if test "X-$enable_parallel" = "X-yes"; then
- CC='mpcc_r -qlanglvl=ansi -D_LARGE_FILES'
+ CC=mpcc_r
CC_BASENAME=mpcc_r
else
- CC='xlc -qlanglvl=ansi -D_LARGE_FILES'
+ CC=xlc
CC_BASENAME=xlc
fi
fi
@@ -31,8 +31,8 @@ case $CC_BASENAME in
xlc|mpcc_r)
# Turn off shared lib option. It causes some test suite to fail.
enable_shared="${enable_shared:-no}"
- # CFLAGS must be set else configure set it to -g
- CFLAGS="$CFLAGS"
+ # Use -D_LARGE_FILES by default to support large file size.
+ CFLAGS="-qlanglvl=ansi -D_LARGE_FILES $CFLAGS"
DEBUG_CFLAGS="-g"
DEBUG_CPPFLAGS=
# -O causes test/dtypes to fail badly. Turn it off for now.