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