Move USE_CCACHE logic to common location (#14899)

This commit is contained in:
Joel Challis
2021-10-21 14:39:13 +01:00
committed by GitHub
parent 1816006121
commit b36e0c6658
5 changed files with 8 additions and 11 deletions

View File

@@ -69,8 +69,11 @@ CSTANDARD = -std=gnu99
#CXXDEFS += -D__STDC_CONSTANT_MACROS
#CXXDEFS +=
# Speed up recompilations by opt-in usage of ccache
USE_CCACHE ?= yes
ifneq ($(USE_CCACHE),no)
CC_PREFIX ?= ccache
endif
#---------------- Compiler Options C ----------------
# -g*: generate debugging information