summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
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=/ \
);