summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/libnss/libnss.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk
index 84fc14996..96faf370b 100644
--- a/package/libnss/libnss.mk
+++ b/package/libnss/libnss.mk
@@ -17,7 +17,6 @@ LIBNSS_BUILD_VARS = MOZILLA_CLIENT=1 \
NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \
BUILD_OPT=1 \
NS_USE_GCC=1 \
- OPTIMIZER="$(TARGET_CFLAGS)" \
NSS_USE_SYSTEM_SQLITE=1 \
NSS_ENABLE_ECC=1 \
NATIVE_CC="$(HOSTCC)" \
@@ -34,11 +33,16 @@ endif
define LIBNSS_BUILD_CMDS
- $(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_coreconf build_dbm all \
+ $(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_coreconf \
SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
DIST=$(@D)/$(LIBNSS_DISTDIR) \
CHECKLOC= \
$(LIBNSS_BUILD_VARS)
+ $(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_dbm all \
+ SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
+ DIST=$(@D)/$(LIBNSS_DISTDIR) \
+ CHECKLOC= \
+ $(LIBNSS_BUILD_VARS) OPTIMIZER="$(TARGET_CFLAGS)"
endef
define LIBNSS_INSTALL_STAGING_CMDS