numam-dpdk/lib/librte_acl
Andrius Sirvys cd6683331d acl: fix compiler flags with meson and AVX2 runtime
When compiling the ACL library on a system without AVX2 support,
the flags used to compile the AVX2-specific code for later run-time
use were not based on the regular cflags for the rest of the library.
This can cause errors due to symbols being missed/undefined
due to incorrect flags. For example,
when testing compilation on Alpine linux, we got:
	error: unknown type name 'cpu_set_t'
due to _GNU_SOURCE not being defined in the cflags.

This issue can be fixed by appending "-mavx2" to
the cflags rather than replacing them with it.

Fixes: 5b9656b157 ("lib: build with meson")
Cc: stable@dpdk.org

Signed-off-by: Andrius Sirvys <andrius.sirvys@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2019-03-27 10:38:06 +01:00
..
acl_bld.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_gen.c lib: fix shifting 32-bit signed variable 31 times 2018-11-06 01:14:05 +01:00
acl_run_altivec.c acl: add AltiVec for ppc64 2016-09-09 17:56:14 +02:00
acl_run_altivec.h eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
acl_run_avx2.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_avx2.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_neon.c lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
acl_run_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
acl_run_scalar.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_sse.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run_sse.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_run.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl_vect.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
acl.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build acl: fix compiler flags with meson and AVX2 runtime 2019-03-27 10:38:06 +01:00
rte_acl_osdep.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_acl_version.map acl: remove old API 2015-09-03 19:22:48 +02:00
rte_acl.c eal: add macro for attribute weak 2018-10-25 02:11:23 +02:00
rte_acl.h acl: forbid rule with priority zero 2018-09-16 11:53:25 +02:00
tb_mem.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
tb_mem.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00