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:
f947fd7
)
crypto/dpaa2_sec: add check for gcc toolchain
author
Akhil Goyal
<akhil.goyal@nxp.com>
Wed, 26 Jul 2017 11:27:37 +0000
(16:57 +0530)
committer
Pablo de Lara
<pablo.de.lara.guarch@intel.com>
Thu, 27 Jul 2017 14:36:45 +0000
(16:36 +0200)
Fixes:
6a95466d78de
("crypto/dpaa2_sec: fix build with gcc 7.1")
Signed-off-by: Akhil Goyal <akhil.goyal@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
c2a02ed
..
ae15c99
100644
(file)
--- a/
drivers/crypto/dpaa2_sec/Makefile
+++ b/
drivers/crypto/dpaa2_sec/Makefile
@@
-46,9
+46,11
@@
CFLAGS += $(WERROR_FLAGS)
endif
CFLAGS += -D _GNU_SOURCE
+ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
ifeq ($(shell test $(GCC_VERSION) -gt 70 && echo 1), 1)
CFLAGS += -Wno-implicit-fallthrough
endif
+endif
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/mc