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 --- Misc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Misc') diff --git a/Misc b/Misc index 4639280..818c4a3 100644 --- a/Misc +++ b/Misc @@ -67,7 +67,7 @@ coverity: $(Q)$(call RM,cov-int) $(Q)$(call MKDIR,cov-int) $(Q)./configure - $(Q)cov-build --dir cov-int $(MAKE) CCACHE= + $(Q)cov-build --dir cov-int $(MAKE) $(Q)tar czvf netsniff-ng-coverity.tgz cov-int $(Q)echo "Uploading snapshot to Coverity scanner" $(Q)curl --form file=@netsniff-ng-coverity.tgz --form project=netsniff-ng \ @@ -113,6 +113,6 @@ help: $(Q)echo " CFLAGS=\"-O2 -Wall ...\" - Overwrite CFLAGS for compilation" $(Q)echo " CPPFLAGS=\"-I ...\" - Additional CFLAGS for compilation" $(Q)echo " LDFLAGS=\"-L ...\" - Additional LDFLAGS for compilation" - $(Q)echo " CCACHE= - Do not use ccache for compilation" + $(Q)echo " CCACHE=ccache - Use ccache for compilation" $(Q)echo " C=1 - Check all C source files with sparse" $(Q)echo " Q= - Show verbose garbage" -- cgit v1.2.3-54-g00ecf