diff --git a/srcpkgs/micropython/template b/srcpkgs/micropython/template index 2406ee854dd..45ba29c81c4 100644 --- a/srcpkgs/micropython/template +++ b/srcpkgs/micropython/template @@ -16,6 +16,10 @@ case "$XBPS_TARGET_MACHINE" in ppc*) broken="missing nlr_push" ;; esac +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + pre_configure() { sed -i 's|-Werror||;/^COPT =/d' Makefile }