patches/squid: disable ccache

parent 83d01de7
From d7dc3ff28088a97298f2f3f9a0168d5c3d10d382 Mon Sep 17 00:00:00 2001
From: Jan Pavlinec <jan.pavlinec@nic.cz>
Date: Fri, 11 Jan 2019 15:53:28 +0100
Subject: [PATCH] squid: disable ccache
---
net/squid/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net/squid/Makefile b/net/squid/Makefile
index 19c5786..1e8213b 100644
--- a/net/squid/Makefile
+++ b/net/squid/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=squid
PKG_VERSION:=4.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
@@ -26,6 +26,12 @@ PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
+# Disable ccache since it causes compilation error
+ifneq ($(CONFIG_CCACHE),)
+HOSTCC=$(HOSTCC_NOCACHE)
+HOSTCXX=$(HOSTCXX_NOCACHE)
+endif
+
define Package/squid/Default
SECTION:=net
CATEGORY:=Network
--
2.7.4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment