projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3cec29
)
add TARGET_CXX variable which points to the c++ cross compiler
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2008 18:35:03 +0000
(18:35 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 1 Sep 2008 18:35:03 +0000
(18:35 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12466
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index
e7a26fc
..
5df9c03
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-97,6
+97,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++
STRIP:=$(STAGING_DIR_HOST)/bin/sstrip
PATCH:=$(SCRIPT_DIR)/patch-kernel.sh
SED:=$(STAGING_DIR_HOST)/bin/sed -i -e
@@
-120,7
+121,7
@@
TARGET_CONFIGURE_OPTS:= \
NM=$(TARGET_CROSS)nm \
CC="$(TARGET_CC)" \
GCC="$(TARGET_CC)" \
- CXX=
$(TARGET_CROSS)g++
\
+ CXX=
"$(TARGET_CXX)"
\
RANLIB=$(TARGET_CROSS)ranlib \
STRIP=$(TARGET_CROSS)strip \
OBJCOPY=$(TARGET_CROSS)objcopy \
This page took
0.025706 seconds
and
4
git commands to generate.