projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36a6db
)
Set TARGET_CXX to 'no' if c++ is not enabled in the toolchain.
author
Lars-Peter Clausen
<lars@metafoo.de>
Sat, 30 May 2009 15:48:44 +0000
(15:48 +0000)
committer
Lars-Peter Clausen
<lars@metafoo.de>
Sat, 30 May 2009 15:48:44 +0000
(15:48 +0000)
SVN-Revision: 16213
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index c3adb1d6c970b2edb54ddad206a68f42e0b9d498..15d62bc26912f3c4c5ff448f18dcedc933339545 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-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