summaryrefslogtreecommitdiff
path: root/libc/ci/install-musl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/install-musl.sh')
-rw-r--r--libc/ci/install-musl.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/libc/ci/install-musl.sh b/libc/ci/install-musl.sh
index ab98c4f..88cb4f0 100644
--- a/libc/ci/install-musl.sh
+++ b/libc/ci/install-musl.sh
@@ -5,7 +5,7 @@
set -ex
-MUSL_VERSION=1.1.22
+MUSL_VERSION=1.1.24
MUSL="musl-${MUSL_VERSION}"
# Download, configure, build, and install musl:
@@ -46,6 +46,20 @@ case ${1} in
./configure --prefix="/musl-${musl_arch}"
make install -j4
;;
+ mips64)
+ musl_arch=mips64
+ kernel_arch=mips
+ CC=mips64-linux-gnuabi64-gcc CFLAGS="-march=mips64r2 -mabi=64" \
+ ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
+ make install -j4
+ ;;
+ mips64el)
+ musl_arch=mips64el
+ kernel_arch=mips
+ CC=mips64el-linux-gnuabi64-gcc CFLAGS="-march=mips64r2 -mabi=64" \
+ ./configure --prefix="/musl-${musl_arch}" --enable-wrapper=yes
+ make install -j4
+ ;;
*)
echo "Unknown target arch: \"${1}\""
exit 1