]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/fm10k/Makefile
drivers/net: disable new gcc 7 warnings for base code
[dpdk.git] / drivers / net / fm10k / Makefile
index a8e8136af88b5145855b6dea7c7818d2a87ab4d6..e0024f0521c3eae1aecc0fdb43facedb2b9fb67e 100644 (file)
@@ -71,6 +71,9 @@ CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers
 ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo 1), 1)
 CFLAGS     += -Wno-deprecated
 CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
+ifeq ($(shell test $(GCC_VERSION) -ge 70 && echo 1), 1)
+CFLAGS_BASE_DRIVER += -Wno-implicit-fallthrough
+endif
 endif
 endif