Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
authorRichard Henderson <rth@redhat.com>
Wed, 28 Mar 2001 22:20:31 +0000 (14:20 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 28 Mar 2001 22:20:31 +0000 (14:20 -0800)
        * Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H.
        Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection.

From-SVN: r40952

gcc/ChangeLog
gcc/Makefile.in

index 6d9f7b1296504e4f4fd710df244985e70941db7a..f9edd3df4277563a7fb75d09595be4e064a7bebe 100644 (file)
@@ -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
index ba84a5cf49db5a0d223843855d420a414974b211..db89388b4ed9a889a3475c08446b736f1648d142 100644 (file)
@@ -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.*