trinity: fix build on musl

This commit is contained in:
q66 2020-01-02 18:05:33 +01:00
parent 441e1f36f7
commit f558a286ff
1 changed files with 4 additions and 0 deletions

View File

@ -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