diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-05-30 15:48:44 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-05-30 15:48:44 +0000 |
commit | df8edcfd8ac557f67f93889fe8f7a3b27b232868 (patch) | |
tree | c3b7a55fbe562a0fa1ed88bb7a419b20be1f4d4e | |
parent | 19357e81759957e3fe29ae1946ca7d3c1d2394d7 (diff) | |
download | master-187ad058-df8edcfd8ac557f67f93889fe8f7a3b27b232868.tar.gz master-187ad058-df8edcfd8ac557f67f93889fe8f7a3b27b232868.tar.bz2 master-187ad058-df8edcfd8ac557f67f93889fe8f7a3b27b232868.zip |
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 |