From ac2c2cf23573e400e014628af22467ca43573c21 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 1 Oct 2014 09:25:19 +0200 Subject: build: Make ccache opt-in rather than opt-out Using ccache by default for compilation if it is available on the system might confuse people and in rare cases also lead to unexpected results. Thus, from now on the use of ccache for compilation has to explicitely specified by setting the CCACHE make variable to the name/path of the ccache binary, i.e. `make CCACHE=ccache' Signed-off-by: Tobias Klauser --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f76fa10..968f9b7 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,8 @@ TOOLS ?= netsniff-ng trafgen astraceroute flowtop ifpps bpfc curvetun mausezahn # For packaging purposes, prefix can define a different path. PREFIX ?= /usr/local -# Disable if you don't want it -CCACHE ?= $(CONFIG_CCACHE) +# Set to use ccache for compilation +CCACHE ?= # Location of an alternative destination directory for installation # Useful when cross-compiling and installing in a dedicated target directory -- cgit v1.2.3-54-g00ecf