aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6d9f7b1..f9edd3d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-28 Richard Henderson <rth@redhat.com>
+
+ * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
+ Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.
+
2001-03-28 Jim Wilson <wilson@redhat.com>
* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ba84a5c..db89388 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -887,7 +887,7 @@ cs-hconfig.h: Makefile
TARGET_CPU_DEFAULT="$(target_cpu_default)" \
$(SHELL) $(srcdir)/mkconfig.sh hconfig.h
-cs-tconfig.h: Makefile $(GCONFIG_H) insn-flags.h except.h
+cs-tconfig.h: Makefile $(CONFIG_H) except.h
HEADERS="$(xm_file)" DEFINES="$(xm_defines)" \
TARGET_CPU_DEFAULT="" \
$(SHELL) $(srcdir)/mkconfig.sh tconfig.h
@@ -896,7 +896,7 @@ cs-tconfig.h: Makefile $(GCONFIG_H) insn-flags.h except.h
echo '#include "config.h"' > conftest.c
echo '#include "except.h"' >> conftest.c
echo 'xyzzy USING_SJLJ_EXCEPTIONS' >> conftest.c
- $(HOST_CC) -E conftest.c $(HOST_CFLAGS) $(INCLUDES) > conftest.out
+ $(HOST_CC) -E conftest.c $(ALL_CFLAGS) $(INCLUDES) > conftest.out
sed -e 's/xyzzy/#define USING_SJLJ_EXCEPTIONS/' -e '/#define/p' \
-e d conftest.out >> tconfig.h
rm conftest.*