From: Ashwin Sekhar T K Date: Fri, 12 May 2017 05:45:45 +0000 (-0700) Subject: acl: fix build with ARMv8 clang X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=30b156d5ef26c57a28929ce7ee5b7ce47fff4c31;p=dpdk.git acl: fix build with ARMv8 clang Fixed warning -Wunknown-warning-option seen with armv8a clang compilation. Signed-off-by: Ashwin Sekhar T K Reviewed-by: Jerin Jacob Acked-by: Hemant Agrawal --- diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile index e2dacd606e..b39b9b12fd 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