summaryrefslogtreecommitdiff
path: root/package/mozjs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mozjs/Makefile')
-rw-r--r--package/mozjs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mozjs/Makefile b/package/mozjs/Makefile
index e7c7a0034..3d08b64cf 100644
--- a/package/mozjs/Makefile
+++ b/package/mozjs/Makefile
@@ -22,6 +22,7 @@ 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}"
+CONFIGURE_ENV+= HOST_LDFLAGS="${LDFLAGS_FOR_BUILD}"
CONFIGURE_ENV+= HOST_CXXFLAGS="${CXXFLAGS_FOR_BUILD}" HOST_CXX="${CXX_FOR_BUILD}"
CONFIGURE_ARGS+= --disable-optimize \
--with-system-nspr