diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-07-15 22:45:29 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-07-15 22:45:29 (GMT) |
commit | 1be75d8fe00c1ac44e38b5d5867ade7f6a3ffce2 (patch) | |
tree | 1a61401c5aabd67459459f479ade6c32e07dcf76 /config/ia64-linux-gnu | |
parent | dd4163f3ab7e076cca9652c7856b92148579ac30 (diff) | |
download | hdf5-1be75d8fe00c1ac44e38b5d5867ade7f6a3ffce2.zip hdf5-1be75d8fe00c1ac44e38b5d5867ade7f6a3ffce2.tar.gz hdf5-1be75d8fe00c1ac44e38b5d5867ade7f6a3ffce2.tar.bz2 |
[svn-r8886] Purpose:
bug fix.
Description:
The previous patch of -D__GNUC__ was causing failure in the
newer compiler. The previous failure could not be repeated
any more. So, removed it.
Platforms tested:
Tested only in TG-NCSA since the change affects only the ia64 platform.
Misc. update:
Diffstat (limited to 'config/ia64-linux-gnu')
-rw-r--r-- | config/ia64-linux-gnu | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/config/ia64-linux-gnu b/config/ia64-linux-gnu index d6762bb..77faf0c 100644 --- a/config/ia64-linux-gnu +++ b/config/ia64-linux-gnu @@ -16,34 +16,34 @@ fi # `--enable-debug' switch of configure. For ecc 7.1, because of the # overlapping definitions of int64_t(starting from int8_t) in sys/types.h # and stdint.h, we added -D__GNUC__ to CFLAGS. +# This problem is no longer true and the -D_GNUC__ actually caused failure. +# So it is removed. case $CC_BASENAME in - ecc) - CFLAGS="$CFLAGS -std=c99 -w2 -Wall -D__GNUC__" + ecc) + # Default to C99 standard. + CFLAGS="${CFLAGS:--std=c99}" + DEBUG_CFLAGS="-w2 -Wall -g -O0" + DEBUG_CPPFLAGS= + PROD_CFLAGS="" # ecc has -O2 as default + PROD_CPPFLAGS= + PROFILE_CFLAGS="-p" + PROFILE_CPPFLAGS= + ;; - DEBUG_CFLAGS="-g -O0" - DEBUG_CPPFLAGS= + gcc) + . $srcdir/config/gnu-flags + ;; - PROD_CFLAGS="" - PROD_CFLAGS="" # ecc has -O2 as default - PROD_CPPFLAGS= - PROFILE_CFLAGS="-p" - PROFILE_CPPFLAGS= - ;; - - gcc) - . $srcdir/config/gnu-flags - ;; - - *) - CFLAGS="$CFLAGS -ansi" - DEBUG_CFLAGS="-g" - DEBUG_CPPFLAGS= - PROD_CFLAGS="-O" - PROD_CPPFLAGS= - PROFILE_CFLAGS="-pg" - PROFILE_CPPFLAGS= - ;; + *) + CFLAGS="$CFLAGS -ansi" + DEBUG_CFLAGS="-g" + DEBUG_CPPFLAGS= + PROD_CFLAGS="-O" + PROD_CPPFLAGS= + PROFILE_CFLAGS="-pg" + PROFILE_CPPFLAGS= + ;; esac # The default Fortran 90 compiler |