mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-23 10:53:04 -04:00
MINOR: build: Disable -Wstringop-overflow.
Disable -Wstringop-overflow, as it gives annoying false positives with gcc 8.
This commit is contained in:
parent
5dfb6c4cc9
commit
c4e6460f66
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -167,6 +167,7 @@ SPEC_CFLAGS += $(call cc-nowarn,ignored-qualifiers)
|
||||||
SPEC_CFLAGS += $(call cc-nowarn,clobbered)
|
SPEC_CFLAGS += $(call cc-nowarn,clobbered)
|
||||||
SPEC_CFLAGS += $(call cc-nowarn,missing-field-initializers)
|
SPEC_CFLAGS += $(call cc-nowarn,missing-field-initializers)
|
||||||
SPEC_CFLAGS += $(call cc-nowarn,implicit-fallthrough)
|
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,-Wtype-limits)
|
||||||
SPEC_CFLAGS += $(call cc-opt,-Wshift-negative-value)
|
SPEC_CFLAGS += $(call cc-opt,-Wshift-negative-value)
|
||||||
SPEC_CFLAGS += $(call cc-opt,-Wshift-overflow=2)
|
SPEC_CFLAGS += $(call cc-opt,-Wshift-overflow=2)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue