mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
5e8561171f
commit
2a60be271a
@ -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…
x
Reference in New Issue
Block a user