[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:
Bill Wendling 2003-04-28 17:24:07 -05:00
parent 83b2e3213a
commit 158d164b91

View File

@ -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