diff options
author | Jason Merrill <jason@redhat.com> | 2002-12-17 00:10:23 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2002-12-17 00:10:23 -0500 |
commit | 5ecf91d13a7de40c79368145fcb00241e32a9992 (patch) | |
tree | 2c50d17cc140d737dd0e557e5167d873d9d04af0 /Makefile.tpl | |
parent | d8437e1bb6ce3f80d29486f78ef7d2abc9d588c5 (diff) | |
download | gcc-5ecf91d13a7de40c79368145fcb00241e32a9992.zip gcc-5ecf91d13a7de40c79368145fcb00241e32a9992.tar.gz gcc-5ecf91d13a7de40c79368145fcb00241e32a9992.tar.bz2 |
Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a previous 'make bootstrap'.
* Makefile.tpl (all-gcc): Use 'make quickstrap' if there was a
previous 'make bootstrap'.
* Makefile.in: Regenerate.
From-SVN: r60193
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 9f64035..b2f7442 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; \ |