All pastes #2075979 Raw Edit

CCache fixes

public diff v1 · immutable
#2075979 ·published 2011-06-07 05:33 UTC
rendered paste body
Index: include/cmake.mk===================================================================--- include/cmake.mk    (revision 26868)+++ include/cmake.mk    (working copy)@@ -15,9 +15,13 @@   CMAKE_CXX_COMPILER_ARG1:=  endif else-  CMAKE_C_COMPILER:=$(STAGING_DIR_HOST)/bin/ccache+  CCACHE:=$(shell which ccache)+  ifeq ($(CCACHE),)+    CCACHE:=$(STAGING_DIR_HOST)/bin/ccache+  endif+  CMAKE_C_COMPILER:=$(CCACHE)   CMAKE_C_COMPILER_ARG1:=$(filter-out ccache,$(TARGET_CC))-  CMAKE_CXX_COMPILER:=$(STAGING_DIR_HOST)/bin/ccache+  CMAKE_CXX_COMPILER:=$(CCACHE)   CMAKE_CXX_COMPILER_ARG1:=$(filter-out ccache,$(TARGET_CXX)) endif