]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/Makefile
drivers/net: disable new gcc 7 warnings for base code
[dpdk.git] / drivers / net / qede / Makefile
index 8acef004b72983d96610aa4050257f1b2ed5954c..3323914c0b3f00b1a4b641552bfccfaddd06a399 100644 (file)
@@ -56,6 +56,9 @@ endif
 CFLAGS_BASE_DRIVER += -Wno-strict-prototypes
 ifeq ($(shell test $(GCC_VERSION) -ge 60 && echo 1), 1)
 CFLAGS_BASE_DRIVER += -Wno-shift-negative-value
+ifeq ($(shell test $(GCC_VERSION) -ge 70 && echo 1), 1)
+CFLAGS_BASE_DRIVER += -Wno-implicit-fallthrough
+endif
 endif
 else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y)
 CFLAGS_BASE_DRIVER += -Wno-format-extra-args