diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-01 18:35:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-01 18:35:03 +0000 |
commit | 8df932fe98e4b818c7dfe84dfcd6c8a1aa48ff6e (patch) | |
tree | 3b97a9e621e452fd2037062ac0fd479cd481420c | |
parent | 206e0235ad443e2277b1f482bf5b451b0cdc8393 (diff) | |
download | master-187ad058-8df932fe98e4b818c7dfe84dfcd6c8a1aa48ff6e.tar.gz master-187ad058-8df932fe98e4b818c7dfe84dfcd6c8a1aa48ff6e.tar.bz2 master-187ad058-8df932fe98e4b818c7dfe84dfcd6c8a1aa48ff6e.zip |
add TARGET_CXX variable which points to the c++ cross compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12466 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 \ |