summaryrefslogtreecommitdiff
path: root/run_rustc
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-07-13 18:54:48 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-07-13 18:54:48 +0800
commit74aa547702e780c388ae73f32fcd509bff7ab93f (patch)
tree082dbe486753d38536408cf7594991c7cf9444a6 /run_rustc
parentb11367d979f3b1f4eb84e968adedc50cbbf2b1d6 (diff)
downloadmrust-74aa547702e780c388ae73f32fcd509bff7ab93f.tar.gz
Makefiles - Tweaking
Diffstat (limited to 'run_rustc')
-rw-r--r--run_rustc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/run_rustc/Makefile b/run_rustc/Makefile
index e38e8181..cb9a7a81 100644
--- a/run_rustc/Makefile
+++ b/run_rustc/Makefile
@@ -1,7 +1,7 @@
# Makefile that builds libstd using the mrustc-built rustc
RUSTC := ../output/rustc
-RUST_SRC := ../rustc-1.19.0-src/src/
+RUST_SRC ?= ../rustc-1.29.0-src/src/
PREFIX := prefix/
BINDIR := $(PREFIX)bin/
@@ -10,7 +10,8 @@ LIBDIR := $(PREFIX)lib/rustlib/x86_64-unknown-linux-gnu/lib/
V ?= @
-all: $(BINDIR)rustc $(BINDIR)cargo $(LIBDIR)libstd.rlib $(BINDIR)hello_world
+all: $(BINDIR)rustc $(LIBDIR)libstd.rlib $(BINDIR)hello_world
+all: $(BINDIR)cargo
RUSTFLAGS_liblibc := --cfg stdbuild
RUSTFLAGS_libstd := -l dl -l rt -l pthread