about summary refs log tree commit diff
path: root/build_sysroot/build_sysroot.sh
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-04-10 16:50:50 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2019-04-10 16:53:23 +0200
commit16f41266567b16924cd0dff66122db041cc613a5 (patch)
tree55921dcb0429c7c9e56540d0080af46e9411eaf1 /build_sysroot/build_sysroot.sh
parent3fb3043358c27a648430fc024111eba0651d0d5c (diff)
downloadrust-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-xbuild_sysroot/build_sysroot.sh2
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