[dpdk-dev] [RFC 2/2] mk: gcc 10 disable stringop-overflow warnings
Kevin Traynor
ktraynor at redhat.com
Wed Mar 25 15:11:37 CET 2020
Disable this warning at the top level as it is being
raised on several components.
Bugzilla ID: 421
Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
---
mk/toolchain/gcc/rte.vars.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk
index f19305e49..fe4b8c705 100644
--- a/mk/toolchain/gcc/rte.vars.mk
+++ b/mk/toolchain/gcc/rte.vars.mk
@@ -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
--
2.21.1
More information about the dev
mailing list