From 8556048ecee1fc663a4759e3937a580cfffa7345 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Fri, 2 Aug 2019 16:34:28 +0200 Subject: [PATCH] meson: for issue #41 clean up cflags varials --- meson.build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index d46c12e..36be08e 100644 --- a/meson.build +++ b/meson.build @@ -174,11 +174,12 @@ add_project_arguments(common_c_flags, language: 'c') ################################################################################ # Check for compiler CPU extensions -mmx_args = [] -sse_args = [] -sse2_cflags = [] +# intialize these to nothing, so meson doesn't complain on non-x86 + +sse2_cflags = [] +f16c_cflags = [] sse4_1_cflags = [] -avx2_cflags = [] +avx2_cflags = [] # mmx assembly if cc.has_argument('-mmmx') and get_option('enable-mmx') -- 2.30.2