Set $(RUSTC) to full path

This fixes builds of crates that use rustc_version to test the Rust
version in their build scripts.
This commit is contained in:
Ian Douglas Scott 2017-02-28 11:14:47 -08:00
parent 59933df503
commit a0ec4212ca
No known key found for this signature in database
GPG key ID: 4924E10E199B5959

View file

@ -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)`