From: Hemant Agrawal Date: Tue, 11 Jul 2017 14:55:52 +0000 (+0530) Subject: crypto/dpaa2_sec: fix build with gcc 7.1 X-Git-Tag: spdx-start~2496 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=6a95466d78dea1e5542bda8ba996a04331992807 crypto/dpaa2_sec: fix build with gcc 7.1 Signed-off-by: Hemant Agrawal --- diff --git a/drivers/crypto/dpaa2_sec/Makefile b/drivers/crypto/dpaa2_sec/Makefile index f1091151d9..c2a02ed15a 100644 --- a/drivers/crypto/dpaa2_sec/Makefile +++ b/drivers/crypto/dpaa2_sec/Makefile @@ -46,6 +46,10 @@ CFLAGS += $(WERROR_FLAGS) endif CFLAGS += -D _GNU_SOURCE +ifeq ($(shell test $(GCC_VERSION) -gt 70 && echo 1), 1) +CFLAGS += -Wno-implicit-fallthrough +endif + CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/ CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/mc CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/