summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2009-02-05 15:29:52 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2009-02-05 15:29:52 +0000
commitbe9d4db86975f4c7fd438ec55fbf684b09f62199 (patch)
tree3728c548eaa3f5f6a2d00a893f99576f5b032396 /Makefile.tpl
parent3d8ee99c9c5c7ee212d13c53089440fbeb774a5a (diff)
downloadgcc-be9d4db86975f4c7fd438ec55fbf684b09f62199.tar.gz
* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS). * Makefile.in: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143967 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index f654fb3df56..acb349ff742 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -1468,6 +1468,8 @@ do-distclean: distclean-stage1
# Provide a GCC build when we're building target libraries. This does
# not work as a dependency, just as the minimum necessary to avoid errors.
stage_last:
+ @r=`${PWD_COMMAND}`; export r; \
+ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
# Same as unstage, but not phony and defaulting to stage1-start. We place