diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template index ce40fbff1a8..9739055753b 100644 --- a/srcpkgs/trinity/template +++ b/srcpkgs/trinity/template @@ -15,6 +15,10 @@ if [ "$CROSS_BUILD" ]; then export CROSS_COMPILE=${XBPS_TARGET_TRIPLET} fi +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + CFLAGS+=" -Dloff_t=off_t" +fi + do_install() { vbin trinity vdoc Documentation/HACKING.txt