summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-02-13 20:08:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-02-13 20:08:18 (GMT)
commit31596fc1bd33360c24c9e53bdd2fbfac14d5d6b9 (patch)
treee0e11660cab56800d2c67306e64afea545087592 /config
parentb8edc9384d4b192109fce2c0ad8bd0b3a4c7658a (diff)
downloadhdf5-31596fc1bd33360c24c9e53bdd2fbfac14d5d6b9.zip
hdf5-31596fc1bd33360c24c9e53bdd2fbfac14d5d6b9.tar.gz
hdf5-31596fc1bd33360c24c9e53bdd2fbfac14d5d6b9.tar.bz2
[svn-r8201] 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 'config')
-rw-r--r--config/powerpc-ibm-aix5.x8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x
index 10c2429..cbe21b9 100644
--- a/config/powerpc-ibm-aix5.x
+++ b/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 -DSTDC'
+ CC=mpcc_r
CC_BASENAME=mpcc_r
else
- CC='xlc -qlanglvl=ansi -D_LARGE_FILES -DSTDC'
+ 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 -DSTDC $CFLAGS"
DEBUG_CFLAGS="-g -qfullpath"
DEBUG_CPPFLAGS=
# -O causes test/dtypes to fail badly. Turn it off for now.