diff options
author | John Hodge <tpg@ucc.asn.au> | 2019-07-13 18:54:48 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2019-07-13 18:54:48 +0800 |
commit | 74aa547702e780c388ae73f32fcd509bff7ab93f (patch) | |
tree | 082dbe486753d38536408cf7594991c7cf9444a6 /run_rustc | |
parent | b11367d979f3b1f4eb84e968adedc50cbbf2b1d6 (diff) | |
download | mrust-74aa547702e780c388ae73f32fcd509bff7ab93f.tar.gz |
Makefiles - Tweaking
Diffstat (limited to 'run_rustc')
-rw-r--r-- | run_rustc/Makefile | 5 |
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 |