[PATCH v2 5/5] acl: make compatible with instruction set updates for MSVC
Andre Muezerie
andremue at linux.microsoft.com
Wed Feb 26 02:06:56 CET 2025
Top level 'cc_avx2_flags' was created and holds the correct flags
depending on the compiler used.
Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
---
lib/acl/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/acl/meson.build b/lib/acl/meson.build
index fefe131a48..a28d70c23f 100644
--- a/lib/acl/meson.build
+++ b/lib/acl/meson.build
@@ -19,7 +19,7 @@ if dpdk_conf.has('RTE_ARCH_X86')
avx2_tmplib = static_library('avx2_tmp',
'acl_run_avx2.c',
dependencies: static_rte_eal,
- c_args: cflags + ['-mavx2'])
+ c_args: [cflags, cc_avx2_flags])
objs += avx2_tmplib.extract_objects('acl_run_avx2.c')
# compile AVX512 version if:
--
2.48.1.vfs.0.0
More information about the dev
mailing list