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:
parent
59933df503
commit
a0ec4212ca
|
@ -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)`
|
||||
|
|
Loading…
Reference in a new issue