mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
trinity: fix build on musl
This commit is contained in:
parent
441e1f36f7
commit
f558a286ff
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue