aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-21 15:29:59 -0700
committerGraydon Hoare <[email protected]>2011-03-21 15:30:10 -0700
commite80c0d50278884196a6c43be608346f03a4766ba (patch)
tree9d3857d6832a6577522b3618fdf8fd826a351c32
parentEvery upcall needs a task pointer to find the C stack. It is just that when (diff)
downloadrust-e80c0d50278884196a6c43be608346f03a4766ba.tar.xz
rust-e80c0d50278884196a6c43be608346f03a4766ba.zip
Fix CFG_RUN* rules a bit harder. Can now do 'make check' on both boot and stage0 targets.
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 0c134530..5c68e79a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -89,9 +89,10 @@ ifdef CFG_UNIXY
CFG_EXE_SUFFIX :=
CFG_LDPATH :=$(CFG_LDPATH):$(CFG_LLVM_LIBDIR)
CFG_RUN_TARG=\
- LD_LIBRARY_PATH=$(dir $(1)):$(CFG_LDPATH) $(1)
+ LD_LIBRARY_PATH=$(dir $(firstword $(1))):$(CFG_LDPATH) $(1)
CFG_RUN_TEST=\
- LD_LIBRARY_PATH=$(dir $(1)):$(CFG_LDPATH) $(CFG_VALGRIND) $(1)
+ LD_LIBRARY_PATH=$(dir $(firstword $(1))):$(CFG_LDPATH) \
+ $(CFG_VALGRIND) $(1)
CFG_BOOT_NATIVE := 1