From: Bernhard Reutner-Fischer Date: Mon, 20 Nov 2006 16:09:43 +0000 (-0000) Subject: - add and use a HOSTCXX variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e5da4289e3ecc629d1a6d91e1faa3f79ce8152b;p=buildroot.git - add and use a HOSTCXX variable. --- diff --git a/package/Makefile.in b/package/Makefile.in index 8fa677c70b..b8be395ee8 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -23,6 +23,7 @@ DISABLE_LARGEFILE= --disable-largefile endif TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) HOSTCC:=gcc +HOSTCXX:=g++ BASE_DIR:=${shell pwd} diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk index a0ba0f7847..0c40e88177 100644 --- a/package/lzma/lzma.mk +++ b/package/lzma/lzma.mk @@ -34,6 +34,7 @@ $(LZMA_HOST_DIR)/.source: $(DL_DIR)/$(LZMA_SOURCE) $(LZMA_HOST_DIR)/.configured: $(LZMA_HOST_DIR)/.source (cd $(LZMA_HOST_DIR); rm -f config.cache ;\ CC="$(HOSTCC)" \ + CXX="$(HOSTCXX)" \ ./configure \ --prefix=/ \ );