summaryrefslogtreecommitdiff
path: root/package/nss/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/nss/Makefile')
-rw-r--r--package/nss/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/nss/Makefile b/package/nss/Makefile
index 28e4da1f8..e4795f261 100644
--- a/package/nss/Makefile
+++ b/package/nss/Makefile
@@ -15,6 +15,7 @@ PKG_URL:= http://www.mozilla.org/projects/security/pki/nss/
PKG_SITES:= https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_6_RTM/src/
PKG_TARGET_DEPENDS:= !foxboard
+PKG_HOST_DEPENDS:= !cygwin
WRKSRC= ${WRKDIST}/mozilla/security/nss
@@ -26,7 +27,7 @@ CONFIG_STYLE:= manual
ifeq ($(ADK_LINUX_64),y)
TCFLAGS+= -DUSE_64
-MAKE_FLAGS+= USE_64=1
+XAKE_FLAGS+= USE_64=1
endif
MAKE_FLAGS+= NATIVE_CC="${HOSTCC}" NATIVE_FLAGS="${HOSTCFLAGS}"
@@ -34,10 +35,10 @@ TCPPFLAGS+= -I${STAGING_DIR}/usr/include/nspr
TCFLAGS+= -I${STAGING_DIR}/usr/include/nspr
TLDFLAGS:= ''
-MAKE_FLAGS+= SOURCE_MD_DIR=${WRKDIST}/dist DIST=${WRKDIST}/dist \
+XAKE_FLAGS+= SOURCE_MD_DIR=${WRKDIST}/dist DIST=${WRKDIST}/dist \
ARCHFLAG="${TCFLAGS} ${TCPPFLAGS} -ldl"
ALL_TARGET:= build_coreconf all
-XAKE_FLAGS+= OS_TEST=${ARCH} NSS_DISABLE_DBM=1 OS_TARGET=Linux OS_RELEASE=2.6
+XAKE_FLAGS+= OS_TEST=${CPU_ARCH} NSS_DISABLE_DBM=1 OS_TARGET=Linux OS_RELEASE=2.6
post-install:
$(INSTALL_DIR) $(IDIR_NSS)/usr/lib