meson: for issue #41 clean up cflags varials
authorØyvind Kolås <pippin@gimp.org>
Fri, 2 Aug 2019 14:34:28 +0000 (16:34 +0200)
committerØyvind Kolås <pippin@gimp.org>
Fri, 2 Aug 2019 14:34:35 +0000 (16:34 +0200)
meson.build

index d46c12e50b0fdb2780ff4b35727afbbcafc92738..36be08e93c455444bb5cf2b401104e4bb021a81f 100644 (file)
@@ -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')