]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41089 - alexcrichton:update-musl, r=brson
authorCorey Farwell <coreyf@rwell.org>
Thu, 6 Apr 2017 18:55:04 +0000 (14:55 -0400)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2017 18:55:04 +0000 (14:55 -0400)
travis: Update musl for i686/x86_64

This is a random stab towards #38618, no idea if it'll work. But hey more
up-to-date software is better, right?

src/ci/docker/dist-i586-gnu-i686-musl/build-musl.sh
src/ci/docker/dist-x86_64-musl/build-musl.sh

index a50a25c7913481cabe1bd288988c3f80f24a993c..ad285a57a84a3f56891012099ae498dab2503b9b 100644 (file)
@@ -15,11 +15,14 @@ set -ex
 export CFLAGS="-fPIC -Wa,-mrelax-relocations=no"
 export CXXFLAGS="-Wa,-mrelax-relocations=no"
 
-MUSL=musl-1.1.14
+MUSL=musl-1.1.16
 curl https://www.musl-libc.org/releases/$MUSL.tar.gz | tar xzf -
 cd $MUSL
-CFLAGS="$CFLAGS -m32" ./configure --prefix=/musl-i686 --disable-shared --target=i686
-make -j10
+CC=gcc \
+  CFLAGS="$CFLAGS -m32" \
+  ./configure --prefix=/musl-i686 --disable-shared \
+    --target=i686
+make AR=ar RANLIB=ranlib -j10
 make install
 cd ..
 
index 86bb259c8549a6b46bd8941f670aa3da384259e1..776da0093974c0c68c9b59ca84f9fd55eec26059 100644 (file)
@@ -15,7 +15,7 @@ set -ex
 export CFLAGS="-fPIC -Wa,-mrelax-relocations=no"
 export CXXFLAGS="-Wa,-mrelax-relocations=no"
 
-MUSL=musl-1.1.14
+MUSL=musl-1.1.16
 curl https://www.musl-libc.org/releases/$MUSL.tar.gz | tar xzf -
 cd $MUSL
 ./configure --prefix=/musl-x86_64 --disable-shared