From e7413ce6d4f64e2b26abbdd23d00078a7bf2dc6c Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 24 Jan 2017 02:13:13 +0100 Subject: [PATCH] nss: fix cross builds --- srcpkgs/nss/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template index 911174c242..b5600578b7 100644 --- a/srcpkgs/nss/template +++ b/srcpkgs/nss/template @@ -29,7 +29,8 @@ do_build() { cd nss # Build nsinstall for host. - make ${_use64} -C coreconf + make CC=$BUILD_CC LD=$BUILD_LD CFLAGS=$BUILD_CFLAGS LDFLAGS=$BUILD_LDFLAGS \ + ${_use64} -C coreconf if [ "$CROSS_BUILD" ]; then case "$XBPS_TARGET_MACHINE" in