aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-02-05 15:45:55 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-02-05 15:45:55 +0000
commit314b2e66793e9a59676f72ce191bcc2937c2e695 (patch)
tree0700653cd71ecb55128c95b18305a3df1f3bdb46 /Makefile.tpl
parentaacd552b10c8e999e2181350cad7dd2e1c25f0d4 (diff)
downloadgdb-314b2e66793e9a59676f72ce191bcc2937c2e695.zip
gdb-314b2e66793e9a59676f72ce191bcc2937c2e695.tar.gz
gdb-314b2e66793e9a59676f72ce191bcc2937c2e695.tar.bz2
* 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 f654fb3..acb349f 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