diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-18 14:10:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-18 14:10:12 +0000 |
commit | 2a60be271a96e468804f1cc73202829ea00c9e93 (patch) | |
tree | 2d7c894a8035b2aeacbe5a110c5b741b1914990e | |
parent | 5e8561171f1b28340b9e1d87c66f97f6f0d77dd2 (diff) | |
download | master-187ad058-2a60be271a96e468804f1cc73202829ea00c9e93.tar.gz master-187ad058-2a60be271a96e468804f1cc73202829ea00c9e93.tar.bz2 master-187ad058-2a60be271a96e468804f1cc73202829ea00c9e93.zip |
cmake.mk: fix support for ccache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38853 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/cmake.mk | 4 |
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 |