From fbe777b67a3b859d6688111a43f24444cff7d335 Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Fri, 28 May 2004 15:59:50 -0500 Subject: [svn-r8599] Purpose: Bug fix. Description: One of the CFLAGS -D__GNUC__ caused problem for ecc 8. It was added because there was conflicting definition for int64_t in /usr/include/stdint.h and /usr/include/sys/types.h when ecc was updated to 7.1. Since those two files have been updated, the problem is no longer there. Solution: take the flage -D__GNUC__ out. Platforms tested: ecc on titan, the only place concerned. --- config/ia64-linux-gnu | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/ia64-linux-gnu b/config/ia64-linux-gnu index 211f330..3b89501 100644 --- a/config/ia64-linux-gnu +++ b/config/ia64-linux-gnu @@ -15,11 +15,13 @@ fi # flags like `-DH5G_DEBUG' since these are added with the # `--enable-debug' switch of configure. After titan's ecc was updated to 7.1, # int64_t couldn't be found because of overlapping definitions in stdint.h -# and sys/types.h. So added -D__GNUC__ to CFLAGS. +# and sys/types.h. So added -D__GNUC__ to CFLAGS. (This problem is no longer +# there since the C library has been updated. So -D__GNUC__ has been taken +# out.) case $CC_BASENAME in ecc) - CFLAGS="$CFLAGS -std=c99 -w2 -Wall -D__GNUC__" + CFLAGS="$CFLAGS -std=c99 -w2 -Wall" DEBUG_CFLAGS="-g -O0" DEBUG_CPPFLAGS= PROD_CFLAGS="" # ecc has -O2 as default -- cgit v0.12