diff options
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -188,8 +188,12 @@ INSTALL_DATA:=install -m0644 INSTALL_CONF:=install -m0600 ifneq ($(CONFIG_CCACHE),) - TARGET_CC:= ccache $(TARGET_CC) - TARGET_CXX:= ccache $(TARGET_CXX) + TARGET_CC_NOCACHE:=$(TARGET_CC) + TARGET_CXX_NOCACHE:=$(TARGET_CXX) + export TARGET_CC_NOCACHE + export TARGET_CXX_NOCACHE + TARGET_CC:= ccache_cc + TARGET_CXX:= ccache_cxx HOSTCC:= ccache $(HOSTCC) endif |