Loading core/combo/select.mk +17 −7 Original line number Diff line number Diff line Loading @@ -62,7 +62,16 @@ $(combo_target)PRELINKER_MAP := $(BUILD_SYSTEM)/prelink-$(combo_os_arch).map include $(BUILD_COMBOS)/$(combo_target)$(combo_os_arch).mk ifneq ($(USE_CCACHE),) ccache := prebuilt/$(HOST_PREBUILT_TAG)/ccache/ccache CCACHE_HOST_TAG := $(HOST_PREBUILT_TAG) # If we are cross-compiling Windows binaries on Linux # then use the linux ccache binary instead. ifeq ($(HOST_OS)-$(BUILD_OS),windows-linux) CCACHE_HOST_TAG := linux-$(BUILD_ARCH) endif ccache := prebuilt/$(CCACHE_HOST_TAG)/ccache/ccache # Check that the executable is here. ccache := $(strip $(wildcard $(ccache))) ifdef ccache # prepend ccache if necessary ifneq ($(ccache),$(firstword $($(combo_target)CC))) $(combo_target)CC := $(ccache) $($(combo_target)CC) Loading @@ -72,3 +81,4 @@ ifneq ($(USE_CCACHE),) endif ccache = endif endif Loading
core/combo/select.mk +17 −7 Original line number Diff line number Diff line Loading @@ -62,7 +62,16 @@ $(combo_target)PRELINKER_MAP := $(BUILD_SYSTEM)/prelink-$(combo_os_arch).map include $(BUILD_COMBOS)/$(combo_target)$(combo_os_arch).mk ifneq ($(USE_CCACHE),) ccache := prebuilt/$(HOST_PREBUILT_TAG)/ccache/ccache CCACHE_HOST_TAG := $(HOST_PREBUILT_TAG) # If we are cross-compiling Windows binaries on Linux # then use the linux ccache binary instead. ifeq ($(HOST_OS)-$(BUILD_OS),windows-linux) CCACHE_HOST_TAG := linux-$(BUILD_ARCH) endif ccache := prebuilt/$(CCACHE_HOST_TAG)/ccache/ccache # Check that the executable is here. ccache := $(strip $(wildcard $(ccache))) ifdef ccache # prepend ccache if necessary ifneq ($(ccache),$(firstword $($(combo_target)CC))) $(combo_target)CC := $(ccache) $($(combo_target)CC) Loading @@ -72,3 +81,4 @@ ifneq ($(USE_CCACHE),) endif ccache = endif endif