From: Olivier Houchard Date: Tue, 16 Oct 2018 16:35:40 +0000 (+0200) Subject: MINOR: build: Disable -Wstringop-overflow. X-Git-Tag: v1.9-dev4~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4e6460f6;p=thirdparty%2Fhaproxy.git MINOR: build: Disable -Wstringop-overflow. Disable -Wstringop-overflow, as it gives annoying false positives with gcc 8. --- diff --git a/Makefile b/Makefile index 424d98cb36..821d314b66 100644 --- a/Makefile +++ b/Makefile @@ -167,6 +167,7 @@ SPEC_CFLAGS += $(call cc-nowarn,ignored-qualifiers) SPEC_CFLAGS += $(call cc-nowarn,clobbered) SPEC_CFLAGS += $(call cc-nowarn,missing-field-initializers) SPEC_CFLAGS += $(call cc-nowarn,implicit-fallthrough) +SPEC_CFLAGS += $(call cc-nowarn,stringop-overflow) SPEC_CFLAGS += $(call cc-opt,-Wtype-limits) SPEC_CFLAGS += $(call cc-opt,-Wshift-negative-value) SPEC_CFLAGS += $(call cc-opt,-Wshift-overflow=2)