Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67ed25f3 authored by Ying Wang's avatar Ying Wang
Browse files

Reenable ccache.

The previous commit 994c84fb virtually disabled ccache, due to the
deferred evaluation of CC_WRAPPER/CXX_WRAPPER.

Change-Id: Ie0d70a23a55190bd9b24b72edc9158b6976e1d5d
parent e564c0cb
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -92,8 +92,12 @@ ifneq ($(USE_CCACHE),)
  # Check that the executable is here.
  ccache := $(strip $(wildcard $(ccache)))
  ifdef ccache
    CC_WRAPPER ?= $(ccache)
    CXX_WRAPPER ?= $(ccache)
    ifndef CC_WRAPPER
      CC_WRAPPER := $(ccache)
    endif
    ifndef CXX_WRAPPER
      CXX_WRAPPER := $(ccache)
    endif
    ccache =
  endif
endif