23293885 Squid needs help building on 11.3
authorJohn Beck <John.Beck@Oracle.COM>
Mon, 16 May 2016 15:09:43 -0700
changeset 6001 bfad5cf58f0f
parent 6000 3b823561a81d
child 6002 419817b84df0
23293885 Squid needs help building on 11.3
components/squid/Makefile
--- a/components/squid/Makefile	Fri May 13 06:50:48 2016 -0700
+++ b/components/squid/Makefile	Mon May 16 15:09:43 2016 -0700
@@ -43,6 +43,10 @@
 
 CFLAGS += -I$(USRINCDIR)/kerberosv5
 CFLAGS += $(CPP_LARGEFILES)
+# <getopt.h> changed between 11 & 12.
+ifeq ($(OS_VERSION), 5.11)
+CXXFLAGS +=	-Wno-write-strings
+endif
 
 CONFIGURE_LIBDIR.64 =	$(CONFIGURE_PREFIX)/lib