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
This commit is contained in:
Richard Henderson 2001-03-28 14:20:31 -08:00 committed by Richard Henderson
parent 2bf47a10a9
commit 2bb9b75d52
2 changed files with 7 additions and 2 deletions

View 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

View 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.*