From a642218951b7eb1ef5efd0e4c5106a6fff58f2fe Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 5 Dec 2020 20:38:43 -0800 Subject: squid: fix compilation with ccache Added a patch to remove BUILDCXXFLAGS. For some reason, TARGET_CXXFLAGS are leaking. Removed custom Build/Compile section. There's already PKG_INSTALL. Signed-off-by: Rosen Penev --- net/squid/patches/010-no-buildbxxflags.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/squid/patches/010-no-buildbxxflags.patch (limited to 'net/squid/patches') diff --git a/net/squid/patches/010-no-buildbxxflags.patch b/net/squid/patches/010-no-buildbxxflags.patch new file mode 100644 index 000000000..163248545 --- /dev/null +++ b/net/squid/patches/010-no-buildbxxflags.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -765,7 +765,7 @@ cache_cf.o: cf_parser.cci + + # cf_gen builds the configuration files. + cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci +- $(BUILDCXX) $(BUILDCXXFLAGS) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src ++ $(BUILDCXX) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src + + # squid.conf.default is built by cf_gen when making cf_parser.cci + squid.conf.default squid.conf.documented: cf_parser.cci -- cgit v1.2.3