From 9706d4e00e4309b0872df87635d214d5a169827d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 18 Nov 2013 14:10:12 +0000 Subject: [PATCH] cmake.mk: fix support for ccache Signed-off-by: Felix Fietkau SVN-Revision: 38853 --- include/cmake.mk | 4 ++-- 1 file 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 -- 2.30.2