aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-03-28 14:20:31 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-03-28 14:20:31 -0800
commit2bb9b75d528be0f93407ec3d5354191768b70364 (patch)
tree3059c3aa6e1d5f7a2083797b0cebe29dc041427e /gcc
parent2bf47a10a9609a4056234883aa0d5f12c526b067 (diff)
downloadgcc-2bb9b75d528be0f93407ec3d5354191768b70364.zip
gcc-2bb9b75d528be0f93407ec3d5354191768b70364.tar.gz
gcc-2bb9b75d528be0f93407ec3d5354191768b70364.tar.bz2
Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
* Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H. Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection. From-SVN: r40952
Diffstat (limited to 'gcc')
-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.*