build: set more of the simd_cflags when not found
authorØyvind Kolås <pippin@gimp.org>
Fri, 2 Aug 2019 13:26:00 +0000 (15:26 +0200)
committerØyvind Kolås <pippin@gimp.org>
Fri, 2 Aug 2019 13:26:08 +0000 (15:26 +0200)
Further attempt at mitigating issue #41.

meson.build

index 85a8554607bd13c20d0c4423b54db0bfefc1af94..0510932c52dd0ce6cb44071834fb9ec53a08f50d 100644 (file)
@@ -256,12 +256,23 @@ if cc.has_argument('-mmmx') and get_option('enable-mmx')
       endif
     else
       sse_args = '-Wall'
+      sse2_args = '-Wall'
+      sse4_1_cflags = '-Wall'
+      avx2_cflags = '-Wall'
     endif
   else
     mmx_args = '-Wall'
+    sse_args = '-Wall'
+    sse2_args = '-Wall'
+    sse4_1_cflags = '-Wall'
+    avx2_cflags = '-Wall'
   endif
 else
   mmx_args = '-Wall'
+  sse_args = '-Wall'
+  sse2_args = '-Wall'
+  sse4_1_cflags = '-Wall'
+  avx2_cflags = '-Wall'
 endif
 
 ################################################################################