Fix incorrect path to rust's configure script
Needed to build rustc from source using: $ PREFIX_RUSTC=1 PREFIX_BINARY=0 make prefix
This commit is contained in:
parent
affa4fa503
commit
548b946f88
|
@ -123,7 +123,7 @@ $(PREFIX)/rust-freestanding-install: $(ROOT)/rust | $(PREFIX)/gcc-freestanding-i
|
||||||
cp -r "$(PREFIX)/gcc-freestanding-install" "$@.partial"
|
cp -r "$(PREFIX)/gcc-freestanding-install" "$@.partial"
|
||||||
cd "$(PREFIX)/rust-freestanding-build" && \
|
cd "$(PREFIX)/rust-freestanding-build" && \
|
||||||
export PATH="$(ROOT)/$@.partial/bin:$$PATH" && \
|
export PATH="$(ROOT)/$@.partial/bin:$$PATH" && \
|
||||||
"$(ROOT)/$</configure" --prefix="" --disable-docs && \
|
"$</configure" --prefix="" --disable-docs && \
|
||||||
make -j `$(NPROC)` && \
|
make -j `$(NPROC)` && \
|
||||||
make -j `$(NPROC)` install DESTDIR="$(ROOT)/$@.partial"
|
make -j `$(NPROC)` install DESTDIR="$(ROOT)/$@.partial"
|
||||||
rm -rf "$(PREFIX)/rust-freestanding-build"
|
rm -rf "$(PREFIX)/rust-freestanding-build"
|
||||||
|
|
Loading…
Reference in a new issue