summaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2009-02-05 15:45:54 +0000
committerAndreas Schwab <schwab@suse.de>2009-02-05 15:45:54 +0000
commit2ef6d153fc7fbc4ccbd691b190ecce6696b0b290 (patch)
treef23fee96b9e9726ad66d7d58078319a39ec71457 /Makefile.tpl
parentec0b317e787b4ddd254c1ebbf1f1da43af6c5867 (diff)
downloadgdb-2ef6d153fc7fbc4ccbd691b190ecce6696b0b290.tar.gz
* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS). * Makefile.in: Regenerate
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