diff options
author | Jason Merrill <jason@redhat.com> | 2002-12-17 20:38:05 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2002-12-17 20:38:05 +0000 |
commit | d4ee8dd0c5d652bf5e9679dcd18404dcf565cfa3 (patch) | |
tree | d4b3e8e16f62f89fe949b026d22785077712604d /Makefile.tpl | |
parent | 5301be4cd9b0c1571a3b6cb289e0e3b7a2a04fcb (diff) | |
download | gdb-d4ee8dd0c5d652bf5e9679dcd18404dcf565cfa3.tar.gz |
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
previous 'make bootstrap'.
* Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 9f64035a380..b2f7442576d 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; \ |