From 112d30cc6a4a9e6e426ffddf78f45917fac94b6a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 27 Aug 2017 22:38:04 -0700 Subject: squid: Disable format-truncation warning only with gcc Clang does not support this option Signed-off-by: Khem Raj Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-daemons/squid/squid_3.5.26.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.26.bb b/meta-networking/recipes-daemons/squid/squid_3.5.26.bb index 24cd15669..2122f3347 100644 --- a/meta-networking/recipes-daemons/squid/squid_3.5.26.bb +++ b/meta-networking/recipes-daemons/squid/squid_3.5.26.bb @@ -26,6 +26,9 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${MIN_VER}/${BPN}-${P file://gcc7-fixes.patch \ file://0001-tools.cc-fixed-unused-result-warning.patch \ " + +SRC_URI_remove_toolchain-clang = "file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch" + SRC_URI[md5sum] = "dc1830cd361e077814aa39bcc3691d8b" SRC_URI[sha256sum] = "41d8845863dcd026c856508cd1599d417c8947ffd96e86e24085f9893cb8b8c2" -- cgit v1.2.3-54-g00ecf