From 3992d444281419b6553c86258bdadfd65779d373 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sat, 11 Sep 2010 18:37:15 +0000
Subject: [PATCH] ccache TARGET_CXX

Signed-off-by: Alam Arias <Alam.GBC@gmail.com>

SVN-Revision: 23008
---
 rules.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules.mk b/rules.mk
index 7b5bd2c298..1ce28e1bba 100644
--- a/rules.mk
+++ b/rules.mk
@@ -173,6 +173,7 @@ ifneq ($(CONFIG_CCACHE),)
   # FIXME: move this variable to a better location
   export CCACHE_DIR=$(STAGING_DIR)/ccache
   TARGET_CC:= ccache $(TARGET_CC)
+  TARGET_CXX:= ccache $(TARGET_CXX)
 endif
 
 TARGET_CONFIGURE_OPTS = \
-- 
GitLab