summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-04-28 22:24:07 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-04-28 22:24:07 (GMT)
commit158d164b9104cee57020e23af7fa7abdc2e567a8 (patch)
tree8ed7f4e3ad7d1f08f6670bfe531b1df886993cbd /config
parent83b2e3213ae50ed5e7859e9ed731c1625249de1b (diff)
downloadhdf5-158d164b9104cee57020e23af7fa7abdc2e567a8.zip
hdf5-158d164b9104cee57020e23af7fa7abdc2e567a8.tar.gz
hdf5-158d164b9104cee57020e23af7fa7abdc2e567a8.tar.bz2
[svn-r6768] Purpose:
Bug Fix Description: The compression stuff includes the "zlib.h" header file. This file on the SP machine was including another file which would #define const as nothing if the compiler wasn't a Standard C compiler. Solution: Included a flag to make the compiler into an ANSI compiler. Platforms tested: Blue (Only affects powerPC computers) Misc. update:
Diffstat (limited to 'config')
-rw-r--r--config/powerpc-ibm-aix5.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x
index 7ff7225..f8a0894 100644
--- a/config/powerpc-ibm-aix5.x
+++ b/config/powerpc-ibm-aix5.x
@@ -8,11 +8,11 @@
# 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 -D_LARGE_FILES'
+ CC='mpcc_r -qlanglvl=ansi -D_LARGE_FILES'
CC_BASENAME=mpcc_r
RUNPARALLEL=${RUNPARALLEL="MP_PROCS=3 MP_TASKS_PER_NODE=3 poe"}
else
- CC='xlc -D_LARGE_FILES'
+ CC='xlc -qlanglvl=ansi -D_LARGE_FILES'
CC_BASENAME=xlc
fi
fi