mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 03:38:29 +00:00
Don't overwrite RUSTFLAGS for cargo.sh
This commit is contained in:
parent
777c9dabc0
commit
66e4f1bb7a
@ -42,7 +42,7 @@ fi
|
|||||||
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)
|
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)
|
||||||
|
|
||||||
export RUSTC=$dir"/cg_clif"
|
export RUSTC=$dir"/cg_clif"
|
||||||
export RUSTFLAGS=$linker
|
export RUSTFLAGS=$linker" "$RUSTFLAGS
|
||||||
export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\
|
export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\
|
||||||
'-Zcodegen-backend='$dir'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir'/sysroot'
|
'-Zcodegen-backend='$dir'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir'/sysroot'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user