nss: unbreak musl build.
This commit is contained in:
parent
e0b248f50f
commit
f3372b2204
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nss'
|
# Template file for 'nss'
|
||||||
pkgname=nss
|
pkgname=nss
|
||||||
version=3.18.1
|
version=3.18.1
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
makedepends="zlib-devel nspr-devel sqlite-devel"
|
makedepends="zlib-devel nspr-devel sqlite-devel"
|
||||||
depends="nspr>=4.10.7"
|
depends="nspr>=4.10.7"
|
||||||
|
@ -21,9 +21,12 @@ do_build() {
|
||||||
export NSS_USE_SYSTEM_SQLITE=1
|
export NSS_USE_SYSTEM_SQLITE=1
|
||||||
export NSS_ENABLE_ECC=1
|
export NSS_ENABLE_ECC=1
|
||||||
|
|
||||||
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
_use64="USE_64=1"
|
aarch64*|x86_64*) _use64="USE_64=1";;
|
||||||
fi
|
esac
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) CFLAGS+=" -UHAVE_SYS_CDEFS_H";;
|
||||||
|
esac
|
||||||
|
|
||||||
cd nss
|
cd nss
|
||||||
# Build nsinstall for host.
|
# Build nsinstall for host.
|
||||||
|
|
Loading…
Reference in New Issue