nspr: --enable-64bit on x86_64/musl too.
This commit is contained in:
parent
b79bcfa47d
commit
127a61bc54
1 changed files with 4 additions and 4 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue