aboutsummaryrefslogtreecommitdiffstats
path: root/include/cmake.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-11-18 14:10:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-11-18 14:10:12 +0000
commit9706d4e00e4309b0872df87635d214d5a169827d (patch)
treea7ce4ede03859bfa07cf98f959a7625782c53df1 /include/cmake.mk
parentcd1c8d463fff62f0798e514959d104be9320c87f (diff)
downloadupstream-9706d4e00e4309b0872df87635d214d5a169827d.tar.gz
upstream-9706d4e00e4309b0872df87635d214d5a169827d.tar.bz2
upstream-9706d4e00e4309b0872df87635d214d5a169827d.zip
cmake.mk: fix support for ccache
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38853
Diffstat (limited to 'include/cmake.mk')
-rw-r--r--include/cmake.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cmake.mk b/include/cmake.mk
index 774632111f..a2ac62fcae 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -24,9 +24,9 @@ else
CCACHE:=$(STAGING_DIR_HOST)/bin/ccache
endif
CMAKE_C_COMPILER:=$(CCACHE)
- CMAKE_C_COMPILER_ARG1:=$(filter-out ccache,$(TARGET_CC))
+ CMAKE_C_COMPILER_ARG1:=$(TARGET_CC_NOCACHE)
CMAKE_CXX_COMPILER:=$(CCACHE)
- CMAKE_CXX_COMPILER_ARG1:=$(filter-out ccache,$(TARGET_CXX))
+ CMAKE_CXX_COMPILER_ARG1:=$(TARGET_CXX_NOCACHE)
endif
define Build/Configure/Default