cmake.mk: fix support for ccache
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38853
This commit is contained in:
parent
cd1c8d463f
commit
9706d4e00e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue