git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82d7083
)
crypto/dpaa2_sec: fix build with gcc 7.1
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Tue, 11 Jul 2017 14:55:52 +0000
(20:25 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 14 Jul 2017 13:51:24 +0000
(15:51 +0200)
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa2_sec/Makefile
patch
|
blob
|
history
diff --git
a/drivers/crypto/dpaa2_sec/Makefile
b/drivers/crypto/dpaa2_sec/Makefile
index
f109115
..
c2a02ed
100644
(file)
--- 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/