summaryrefslogtreecommitdiff
path: root/package/mozjs/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-10 19:19:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-10 19:19:25 +0100
commit39c0b868f4e02d716a7e5f74915f9b00b81a4569 (patch)
tree64fa3da49db1e7c8777a9d5aad82a9d64c6bf689 /package/mozjs/Makefile
parenta4551c931278582f93430d9e3501e107fc7c9875 (diff)
fix compile, set HOST_CXXFLAGS, too
Diffstat (limited to 'package/mozjs/Makefile')
-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