summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-02-13 20:08:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-02-13 20:08:27 (GMT)
commitbb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85 (patch)
tree30ad9ed82f375427c68875274a3e69f41e978f51 /fortran
parentcdfaa75e5e8bf028a51d9489097a0e93216bc279 (diff)
downloadhdf5-bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85.zip
hdf5-bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85.tar.gz
hdf5-bb35a53e4fc7b70ef79a7c6ec4f1a061bcda2f85.tar.bz2
[svn-r8202] Purpose:
Code cleanup/bug fix Description: Fix configuration files to allow 64-bit compilation of the library with a 64-bit version of zlib. Solution: Moved important compiler flags settings from CC macro to CFLAGS macro. Instead of setting CC (F9X, CXX) environment variable for compiling for 64-bit code, users should just set the CFLAGS (FFLAGS, CXXFLAGS) to -q64. Updated INSTALL file to reflect this change. Platforms tested: IBM p690 (copper) w/parallel, FORTRAN, C++, srcdir. Platforms specific - h5committest does not apply.
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.