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 | 9706d4e00e4309b0872df87635d214d5a169827d (patch) | |
tree | a7ce4ede03859bfa07cf98f959a7625782c53df1 /include/cmake.mk | |
parent | cd1c8d463fff62f0798e514959d104be9320c87f (diff) | |
download | upstream-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.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 |