Add musl builds.

This commit is contained in:
Nicholas Marriott
2020-05-03 12:33:47 +01:00
parent ff5e3d1a88
commit 4fcbd6700f
3 changed files with 46 additions and 0 deletions

View File

@ -10,6 +10,14 @@ case "$BUILD" in
sh $(dirname $0)/build-all.sh
exec make
;;
musl)
CC=musl-gcc sh $(dirname $0)/build-all.sh
exec make
;;
musl-static)
CC=musl-gcc sh $(dirname $0)/build-all.sh --enable-static
exec make
;;
*)
./configure || exit 1
exec make