[RFC,2/2] mk: gcc 10 disable stringop-overflow warnings
Checks
Commit Message
Disable this warning at the top level as it is being
raised on several components.
Bugzilla ID: 421
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
mk/toolchain/gcc/rte.vars.mk | 3 +++
1 file changed, 3 insertions(+)
@@ -101,4 +101,7 @@ endif
WERROR_FLAGS += -Wno-address-of-packed-member
+# disable stringop-overflow warnings
+WERROR_FLAGS += -Wno-stringop-overflow
+
export CC AS AR LD OBJCOPY OBJDUMP STRIP READELF
export TOOLCHAIN_CFLAGS TOOLCHAIN_LDFLAGS TOOLCHAIN_ASFLAGS