From e5e33f0eb4b368f390d43e649b807f012d1d0ef2 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 17 Dec 2002 20:38:05 +0000 Subject: * Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a previous 'make bootstrap'. * Makefile.in: Regenerate. --- Makefile.tpl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile.tpl') diff --git a/Makefile.tpl b/Makefile.tpl index 9f64035a3..b2f744257 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1134,14 +1134,17 @@ gcc/Makefile: config.status $(HOST_CONFIGARGS) $${srcdiroption} \ || exit 1 -# Don't remake gcc if it's already been made by 'bootstrap'; that causes -# nothing but trouble. This wart will be fixed eventually by moving +# Don't 'make all' in gcc if it's already been made by 'bootstrap'; that +# causes trouble. This wart will be fixed eventually by moving # the bootstrap behavior to this file. .PHONY: all-gcc maybe-all-gcc maybe-all-gcc: all-gcc: configure-gcc - @if [ -f gcc/xgcc ] ; then \ - exit 0 ; \ + @if [ -f gcc/stage_last ] ; then \ + r=`${PWD}`; export r; \ + s=`cd $(srcdir); ${PWD}`; export s; \ + $(SET_LIB_PATH) \ + (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \ else \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ -- cgit v1.2.3