remove bogus CCACHE logic, actually honor CC

This commit is contained in:
espie 2017-05-17 12:46:42 +00:00
parent f1eab49ced
commit bbbfb44859

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-Makefile_inc,v 1.3 2017/05/17 12:46:42 espie Exp $
Index: Makefile.inc
--- Makefile.inc.orig
+++ Makefile.inc
@@ -42,12 +42,6 @@ endif
#
# programs
-CCACHE ?= $(shell IFS=:; for i in $$PATH;do test -x "$$i/ccache" && echo "$$i/ccache" && break; done)
-ifeq ($(origin CC),default)
-CC = $(CCACHE) gcc
-else
-CC ?= $(CCACHE) gcc
-endif
ifeq ($(DEBUG),0)
STRIP ?= strip
else