llvm10: fix mips*-musl

This commit is contained in:
Jürgen Buchmüller 2020-05-11 16:21:58 +02:00
parent 49ce4eeb57
commit c587812e59

View file

@ -128,7 +128,7 @@ pre_configure() {
# of clang being too large for a 24-bit relative call to the PLT, so # of clang being too large for a 24-bit relative call to the PLT, so
# optimize for size instead # optimize for size instead
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
ppc|ppc-musl) configure_args+=" -DVOID_CXX_OPT_FLAGS=-Os" ;; mips*-musl|ppc|ppc-musl) configure_args+=" -DVOID_CXX_OPT_FLAGS=-Os" ;;
esac esac
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then