diff --git a/rules.mk b/rules.mk index 86c8f8cf6..456f9dbbb 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 = \