perl: fix *-musl builds
Everyone needs LDFLAGS+=" -pthread" and the leading blank.
This commit is contained in:
parent
38f2ebb047
commit
8d7de2a0fd
1 changed files with 2 additions and 2 deletions
|
@ -166,12 +166,12 @@ do_configure() {
|
|||
_args+=" --target=$XBPS_CROSS_TRIPLET"
|
||||
fi
|
||||
|
||||
LDFLAGS+=" -pthread"
|
||||
# perl-cross autodetection fails. Need perl -V:lseeksize = 8.
|
||||
# (default on musl.)
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686|armv5tel|armv6l|armv7l|aarch64)
|
||||
LDFLAGS+="-pthread"
|
||||
HOSTLDFLAGS+="-pthread"
|
||||
HOSTLDFLAGS+=" -pthread"
|
||||
export HOSTLDFLAGS
|
||||
CFLAGS+=" -D_FILE_OFFSET_BITS=64 -DLARGE_FILE_SUPPORT64 ";;
|
||||
*-musl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue