From 39c0b868f4e02d716a7e5f74915f9b00b81a4569 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 10 Jan 2014 19:19:25 +0100 Subject: fix compile, set HOST_CXXFLAGS, too --- package/mozjs/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package/mozjs/Makefile') 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 -- cgit v1.2.3 From 7ce924b1f5ab24a0f16293047c67d24c6376d375 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 11 Jan 2014 11:50:34 +0100 Subject: systemd is glibc specific, disable upower/polkit for uclibc/musl for now --- package/mozjs/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'package/mozjs/Makefile') 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 -- cgit v1.2.3