summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-20 16:09:43 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-20 16:09:43 +0000
commit4e5da4289e3ecc629d1a6d91e1faa3f79ce8152b (patch)
tree754c267d3f2057cfdf579e659fefef100a55edf1 /package
parent51f1d4de5dcd545c4793436735d046f83d0e0643 (diff)
- add and use a HOSTCXX variable.
Diffstat (limited to 'package')
-rw-r--r--package/Makefile.in1
-rw-r--r--package/lzma/lzma.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 8fa677c70..b8be395ee 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 a0ba0f784..0c40e8817 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=/ \
);