Skip to content

Commit 66e4f1b

Browse files
committed
Don't overwrite RUSTFLAGS for cargo.sh
1 parent 777c9da commit 66e4f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fi
4242
dir=$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)
4343

4444
export RUSTC=$dir"/cg_clif"
45-
export RUSTFLAGS=$linker
45+
export RUSTFLAGS=$linker" "$RUSTFLAGS
4646
export RUSTDOCFLAGS=$linker' -Cpanic=abort -Zpanic-abort-tests '\
4747
'-Zcodegen-backend='$dir'/librustc_codegen_cranelift.'$dylib_ext' --sysroot '$dir'/sysroot'
4848

0 commit comments

Comments
 (0)