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 | ebeb3829e18916d98c08c8d109c0db10d028dbe1 (patch) | |
tree | dd8026923af6b916046800c1ed3e68ea7aca1c23 | |
parent | d36a6dbc41a1f45a5c948f94c51ef6d4cd109644 (diff) | |
download | mtk-20170518-ebeb3829e18916d98c08c8d109c0db10d028dbe1.zip mtk-20170518-ebeb3829e18916d98c08c8d109c0db10d028dbe1.tar.gz mtk-20170518-ebeb3829e18916d98c08c8d109c0db10d028dbe1.tar.bz2 |
Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
SVN-Revision: 16213
-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 |