summaryrefslogtreecommitdiff
path: root/lib/librte_acl
diff options
context:
space:
mode:
authorAshwin Sekhar T K <ashwin.sekhar@caviumnetworks.com>2017-05-11 22:45:45 -0700
committerThomas Monjalon <thomas@monjalon.net>2017-07-03 22:28:10 +0200
commit30b156d5ef26c57a28929ce7ee5b7ce47fff4c31 (patch)
tree095b25799bcdb010b10c365c6e5cfd319bb1df8c /lib/librte_acl
parent8059c1867f545a4c33b376074b79d0832daf02fa (diff)
downloaddpdk-30b156d5ef26c57a28929ce7ee5b7ce47fff4c31.zip
dpdk-30b156d5ef26c57a28929ce7ee5b7ce47fff4c31.tar.gz
dpdk-30b156d5ef26c57a28929ce7ee5b7ce47fff4c31.tar.xz
acl: fix build with ARMv8 clang
Fixed warning -Wunknown-warning-option seen with armv8a clang compilation. Signed-off-by: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com> Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'lib/librte_acl')
-rw-r--r--lib/librte_acl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile
index e2dacd6..b39b9b1 100644
--- a/lib/librte_acl/Makefile
+++ b/lib/librte_acl/Makefile
@@ -51,7 +51,10 @@ SRCS-$(CONFIG_RTE_LIBRTE_ACL) += acl_run_scalar.c
ifneq ($(filter y,$(CONFIG_RTE_ARCH_ARM) $(CONFIG_RTE_ARCH_ARM64)),)
SRCS-$(CONFIG_RTE_LIBRTE_ACL) += acl_run_neon.c
-CFLAGS_acl_run_neon.o += -flax-vector-conversions -Wno-maybe-uninitialized
+CFLAGS_acl_run_neon.o += -flax-vector-conversions
+ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
+CFLAGS_acl_run_neon.o += -Wno-maybe-uninitialized
+endif
else ifeq ($(CONFIG_RTE_ARCH_PPC_64),y)
SRCS-$(CONFIG_RTE_LIBRTE_ACL) += acl_run_altivec.c
else