mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
This commit is contained in:
parent
83b2e3213a
commit
158d164b91
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user