diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2019-04-10 16:50:50 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2019-04-10 16:53:23 +0200 |
| commit | 16f41266567b16924cd0dff66122db041cc613a5 (patch) | |
| tree | 55921dcb0429c7c9e56540d0080af46e9411eaf1 /build_sysroot/build_sysroot.sh | |
| parent | 3fb3043358c27a648430fc024111eba0651d0d5c (diff) | |
| download | rust-16f41266567b16924cd0dff66122db041cc613a5.tar.gz rust-16f41266567b16924cd0dff66122db041cc613a5.zip | |
Pass --sysroot in config.sh to prevent passing it
Diffstat (limited to 'build_sysroot/build_sysroot.sh')
| -rwxr-xr-x | build_sysroot/build_sysroot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh index 33da1e3dd67..5e1d0904753 100755 --- a/build_sysroot/build_sysroot.sh +++ b/build_sysroot/build_sysroot.sh @@ -20,7 +20,7 @@ fi # Build libs mkdir -p sysroot/lib/rustlib/$TARGET_TRIPLE/lib/ -export RUSTFLAGS="$RUSTFLAGS -Z force-unstable-if-unmarked --sysroot sysroot" +export RUSTFLAGS="$RUSTFLAGS -Z force-unstable-if-unmarked" if [[ "$1" == "--release" ]]; then channel='release' RUSTFLAGS="$RUSTFLAGS -Zmir-opt-level=3" cargo build --target $TARGET_TRIPLE --release |
