]> git.lizzy.rs Git - rust.git/commitdiff
travis: Pass --enable-llvm-static-stdcpp
authorAlex Crichton <alex@alexcrichton.com>
Mon, 16 Jan 2017 02:50:22 +0000 (18:50 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 17 Jan 2017 16:51:03 +0000 (08:51 -0800)
All our releases are compiled with this, so let's be sure to do so whenever
`DEPLOY` is set. This'll ensure that we don't have dynamic dependencies on
libstdc++ which LLVM depends on, but instead we link it all statically to have
more portable binaries.

src/ci/run.sh

index 205228a7bccc87519d4dfe8f4a3df43e2bf7fffb..823970201f6457657dda75c44fe497da6b20ef4f 100755 (executable)
@@ -43,6 +43,7 @@ fi
 #        either automatically or manually.
 if [ "$DEPLOY" != "" ]; then
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=nightly"
+  RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
 
   if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"