meson: deinterlace: Check host cpu type for asm build
authorSeungha Yang <seungha@centricular.com>
Fri, 19 Jun 2020 11:24:12 +0000 (20:24 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 19 Jun 2020 11:28:14 +0000 (20:28 +0900)
Add host cpu type check as we would enable asm only for x86_64

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/636>

gst/deinterlace/meson.build

index 1a19a56..7ba4e2a 100644 (file)
@@ -34,7 +34,7 @@ else
 endif
 
 asm_gen_objs = []
-if have_nasm
+if have_nasm and host_cpu == 'x86_64'
   if host_system == 'windows'
     outputname = '@PLAINNAME@.obj'
   else