]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: build: Disable -Wstringop-overflow.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 16 Oct 2018 16:35:40 +0000 (18:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Oct 2018 17:28:23 +0000 (19:28 +0200)
Disable -Wstringop-overflow, as it gives annoying false positives
with gcc 8.

Makefile

index 424d98cb36414f476e9d5b3a2a48899409929c83..821d314b66fc61fd914150cac6ad5a33c0736bb2 100644 (file)
--- 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)