diff options
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -185,13 +185,14 @@ INSTALL_DIR:=install -d -m0755 INSTALL_DATA:=install -m0644 INSTALL_CONF:=install -m0600 +TARGET_CC_NOCACHE:=$(TARGET_CC) +TARGET_CXX_NOCACHE:=$(TARGET_CXX) +HOSTCC_NOCACHE:=$(HOSTCC) +export TARGET_CC_NOCACHE +export TARGET_CXX_NOCACHE +export HOSTCC_NOCACHE + ifneq ($(CONFIG_CCACHE),) - TARGET_CC_NOCACHE:=$(TARGET_CC) - TARGET_CXX_NOCACHE:=$(TARGET_CXX) - HOSTCC_NOCACHE:=$(HOSTCC) - export TARGET_CC_NOCACHE - export TARGET_CXX_NOCACHE - export HOSTCC_NOCACHE TARGET_CC:= ccache_cc TARGET_CXX:= ccache_cxx HOSTCC:= ccache $(HOSTCC) |