From ec935b458f0c3cebfc0cd8522d82513bfa455fc8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 26 Sep 2014 08:12:18 +0200 Subject: fix firefox build --- package/firefox/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'package/firefox/Makefile') diff --git a/package/firefox/Makefile b/package/firefox/Makefile index c7fd739e1..087c7e698 100644 --- a/package/firefox/Makefile +++ b/package/firefox/Makefile @@ -42,12 +42,12 @@ endif CONFIGURE_ENV+= CROSS_COMPILE=1 \ PYTHON="$(PYTHON)" \ - HOST_CC="${CC_FOR_BUILD}" \ - HOST_CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \ - HOST_CFLAGS="${CFLAGS_FOR_BUILD}" \ - HOST_LDFLAGS="${LDLAGS_FOR_BUILD}" \ - HOST_CXX="${CXX_FOR_BUILD}" \ - HOST_CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \ + HOST_CC="${HOST_CC}" \ + HOST_CPPFLAGS="${HOST_CPPFLAGS}" \ + HOST_CFLAGS="${HOST_CFLAGS}" \ + HOST_LDFLAGS="${HOST_LDLAGS}" \ + HOST_CXX="${HOST_CXX}" \ + HOST_CXXFLAGS="${HOST_CXXFLAGS}" \ HOST_RANLIB="ranlib" HOST_AR="ar" \ CPPFLAGS="-I${STAGING_TARGET_DIR}/usr/include/freetype2" \ ac_cv_sqlite_secure_delete=yes \ @@ -108,7 +108,7 @@ ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y) TARGET_CFLAGS:= $(subst Os,g3,$(TARGET_CFLAGS)) endif -XAKE_FLAGS+= OS_RELEASE="2.6" HOST_CC=$(CC_FOR_BUILD) HOST_LDFLAGS=$(LDFLAGS_FOR_BUILD) +XAKE_FLAGS+= OS_RELEASE="2.6" HOST_CC=$(HOST_CC) HOST_LDFLAGS=$(HOST_LDFLAGS) XAKE_FLAGS+= ARCHFLAG="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} ${TARGET_LDFLAGS} -lnss3 -lnssutil3 -lsmime3 -lssl3 -fPIC" pre-build: -- cgit v1.2.3