Don't overwrite RUSTFLAGS for cargo.sh

This commit is contained in:
bjorn3 2020-11-04 19:15:41 +01:00
parent 777c9dabc0
commit 66e4f1bb7a

View File

@ -42,7 +42,7 @@ fi
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)
export RUSTC=$dir"/cg_clif"
export RUSTFLAGS=$linker
export RUSTFLAGS=$linker" "$RUSTFLAGS
export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\
'-Zcodegen-backend='$dir'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir'/sysroot'