From a0ec4212caeba2ae28599fbaed1e63fc7b6cdb1e Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 28 Feb 2017 11:14:47 -0800 Subject: [PATCH] Set $(RUSTC) to full path This fixes builds of crates that use rustc_version to test the Rust version in their build scripts. --- mk/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/config.mk b/mk/config.mk index 2645973..b6567e9 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -41,7 +41,7 @@ KCARGOFLAGS=--target $(KTARGET) --release -- -C soft-float export TARGET=$(ARCH)-unknown-redox BUILD=build/userspace export INITFS_FOLDER=$(ROOT)/initfs -RUSTC=./rustc.sh +RUSTC=$(PWD)/rustc.sh RUSTDOC=./rustdoc.sh CARGO=RUSTC="$(RUSTC)" RUSTDOC="$(RUSTDOC)" CARGO_INCREMENTAL=1 cargo CARGOFLAGS=--target $(TARGET) --release -- -C codegen-units=`$(NPROC)`