remove bogus CCACHE logic, actually honor CC
This commit is contained in:
parent
f1eab49ced
commit
bbbfb44859
18
net/olsrd/patches/patch-Makefile_inc
Normal file
18
net/olsrd/patches/patch-Makefile_inc
Normal 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
|
Loading…
Reference in New Issue
Block a user