diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-30 15:48:44 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-30 15:48:44 +0000 |
commit | e1f39cadfc986f737460f4b904c41d9a76f13676 (patch) | |
tree | c3b7a55fbe562a0fa1ed88bb7a419b20be1f4d4e | |
parent | be59be1a413b40aa7e9eb9ab33151f0db6d82dfc (diff) |
Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16213 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ HOST_CFLAGS:=-O2 -I$(STAGING_DIR_HOST)/include HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib TARGET_CC:=$(TARGET_CROSS)gcc -TARGET_CXX:=$(TARGET_CROSS)g++ +TARGET_CXX:=$(if $(CONFIG_INSTALL_LIBSTDCPP),$(TARGET_CROSS)g++,no) STRIP:=$(STAGING_DIR_HOST)/bin/sstrip PATCH:=$(SCRIPT_DIR)/patch-kernel.sh SED:=$(STAGING_DIR_HOST)/bin/sed -i -e |