summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-07-06 12:24:00 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-07-06 12:24:00 +0800
commit74d1af9c19d9b21a746cf94b1c1c6c4a0211071d (patch)
tree4a8861a8e04528512755f97d26960b37972a0d7e
parent0a79b158cee37a880b77c640f874fbf5a0493dc3 (diff)
downloadmrust-74d1af9c19d9b21a746cf94b1c1c6c4a0211071d.tar.gz
run_rustc - Minor fix to paths
-rw-r--r--run_rustc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/run_rustc/Makefile b/run_rustc/Makefile
index 385bfd9c..71c124a3 100644
--- a/run_rustc/Makefile
+++ b/run_rustc/Makefile
@@ -4,8 +4,8 @@ RUSTC := ../output/rustc
RUST_SRC := ../rustc-nightly/src/
PREFIX := prefix/
-BINDIR := $(PREFIX)bin
-LIBDIR := $(PREFIX)lib
+BINDIR := $(PREFIX)bin/
+LIBDIR := $(PREFIX)lib/
V ?= @
@@ -24,7 +24,7 @@ $(BINDIR)rustc: $(RUSTC)
$(LIBDIR)%.rlib: $(RUST_SRC)%/lib.rs $(RUSTC)
@mkdir -p $(dir $@)
@echo "[RUSTC] -o $@"
- time $(RUSTC) $(RUSTFLAGS_$@) -L output/ -L ../output/libs $< -o $@
+ $Vtime $(RUSTC) $(RUSTFLAGS_$@) -L output/ -L ../output/libs $< -o $@
$(LIBDIR)%.rlib: $(RUST_SRC)%/src/lib.rs $(RUSTC)
@mkdir -p $(dir $@)
@echo "[RUSTC] -o $@"