perl: ppc support

This commit is contained in:
Foxlet 2018-08-22 21:36:24 -04:00 committed by maxice8
parent 133f51e254
commit 4620ef23c2

View file

@ -170,7 +170,7 @@ do_configure() {
# perl-cross autodetection fails. Need perl -V:lseeksize = 8. # perl-cross autodetection fails. Need perl -V:lseeksize = 8.
# (default on musl.) # (default on musl.)
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
i686|armv5tel|armv6l|armv7l|aarch64|ppc64le) i686|armv5tel|armv6l|armv7l|aarch64|ppc64le|ppc)
HOSTLDFLAGS+=" -pthread" HOSTLDFLAGS+=" -pthread"
export HOSTLDFLAGS export HOSTLDFLAGS
CFLAGS+=" -D_FILE_OFFSET_BITS=64 -DLARGE_FILE_SUPPORT64 ";; CFLAGS+=" -D_FILE_OFFSET_BITS=64 -DLARGE_FILE_SUPPORT64 ";;