summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 7b5bd2c29..1ce28e1bb 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 = \