summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/mozjs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/mozjs/Makefile b/package/mozjs/Makefile
index c5e41f489..e7c7a0034 100644
--- a/package/mozjs/Makefile
+++ b/package/mozjs/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= mozjs
PKG_VERSION:= 17.0.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 20b6f8f1140ef6e47daa3b16965c9202
PKG_DESCR:= javascript library
PKG_SECTION:= libs
@@ -21,7 +21,8 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MOZJS,mozjs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-CONFIGURE_ENV+= HOST_CC="${CC_FOR_BUILD}" HOST_CFLAGS="${CFLAGS_FOR_BUILD}" HOST_CXX="${CXX_FOR_BUILD}"
+CONFIGURE_ENV+= HOST_CC="${CC_FOR_BUILD}" HOST_CFLAGS="${CFLAGS_FOR_BUILD}"
+CONFIGURE_ENV+= HOST_CXXFLAGS="${CXXFLAGS_FOR_BUILD}" HOST_CXX="${CXX_FOR_BUILD}"
CONFIGURE_ARGS+= --disable-optimize \
--with-system-nspr