trinity: fix build on musl
This commit is contained in:
parent
441e1f36f7
commit
f558a286ff
|
@ -15,6 +15,10 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
|
export CROSS_COMPILE=${XBPS_TARGET_TRIPLET}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
CFLAGS+=" -Dloff_t=off_t"
|
||||||
|
fi
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin trinity
|
vbin trinity
|
||||||
vdoc Documentation/HACKING.txt
|
vdoc Documentation/HACKING.txt
|
||||||
|
|
Loading…
Reference in New Issue