- add and use a HOSTCXX variable.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 20 Nov 2006 16:09:43 +0000 (16:09 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 20 Nov 2006 16:09:43 +0000 (16:09 -0000)
package/Makefile.in
package/lzma/lzma.mk

index 8fa677c70bdcd2fa3ff74b9c1be39c0e723dfec0..b8be395ee8ead0d220fee469a80e39bd5369c470 100644 (file)
@@ -23,6 +23,7 @@ DISABLE_LARGEFILE= --disable-largefile
 endif
 TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
 HOSTCC:=gcc
+HOSTCXX:=g++
 
 BASE_DIR:=${shell pwd}
 
index a0ba0f7847d9e07a8a523e5711998e2051952866..0c40e88177b322b7fe57217f0bc7755aece984bb 100644 (file)
@@ -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=/ \
        );