depot/third_party/nixpkgs/pkgs/development/libraries/neatvnc/disable-cpu-acceleration.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

17 lines
338 B
Diff

diff --git a/meson.build b/meson.build
index 31dd8b8..8761087 100644
--- a/meson.build
+++ b/meson.build
@@ -21,12 +21,6 @@ endif
cpu = host_machine.cpu_family()
-if cpu == 'x86_64'
- c_args += '-mavx'
-elif cpu == 'arm'
- c_args += '-mfpu=neon'
-endif
-
add_project_arguments(c_args, language: 'c')
cc = meson.get_compiler('c')