projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1c8d4
)
cmake.mk: fix support for ccache
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 18 Nov 2013 14:10:12 +0000
(14:10 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 18 Nov 2013 14:10:12 +0000
(14:10 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38853
include/cmake.mk
patch
|
blob
|
history
diff --git
a/include/cmake.mk
b/include/cmake.mk
index 774632111fbeb26418261149c31e49d5fe24bf94..a2ac62fcae170ebef5d9b594b9d19da592ff3cbb 100644
(file)
--- 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