nspr: --enable-64bit on x86_64/musl too.

This commit is contained in:
Juan RP 2015-05-08 10:04:26 +02:00
parent b79bcfa47d
commit 127a61bc54

View file

@ -1,7 +1,7 @@
# Template file for 'nspr'
pkgname=nspr
version=4.10.8
revision=2
revision=3
build_style=gnu-configure
build_wrksrc="nspr"
makedepends="zlib-devel"
@ -18,9 +18,9 @@ do_configure() {
unset CFLAGS
_args+=" --target=$XBPS_CROSS_TRIPLET"
fi
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_args+=" --enable-64bit"
fi
case "$XBPS_TARGET_MACHINE" in
x86_64*) _args+=" --enable-64bit";;
esac
./configure --prefix=/usr --libdir=/usr/lib \
--includedir=/usr/include/nspr --enable-optimize \