X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fi40e%2Fmeson.build;h=ce3cc658e95f4f223768ca3e87f79a42b4b4e670;hb=6a11a1eac0b6dcd52580eef99cf6f09e3361cc3b;hp=f5fc5a17e0a236c830d3df3364aeccdb8d5318d1;hpb=5c38c33f7880cae0de0c3adf0fbd2bd0e73721b4;p=dpdk.git diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build index f5fc5a17e0..ce3cc658e9 100644 --- a/drivers/net/i40e/meson.build +++ b/drivers/net/i40e/meson.build @@ -28,6 +28,10 @@ includes += include_directories('base') if arch_subdir == 'x86' sources += files('i40e_rxtx_vec_sse.c') + if is_windows and cc.get_id() != 'clang' + cflags += ['-fno-asynchronous-unwind-tables'] + endif + # compile AVX2 version if either: # a. we have AVX supported in minimum instruction set baseline # b. it's not minimum instruction set, but supported by compiler @@ -54,10 +58,6 @@ if arch_subdir == 'x86' cc.has_argument('-mavx512f') and cc.has_argument('-mavx512bw')) - if is_windows and cc.get_id() != 'clang' - i40e_avx512_cc_support = false - endif - if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true cflags += ['-DCC_AVX512_SUPPORT'] avx512_args = [cflags, '-mavx512f', '-mavx512bw']