Commit 0b8d38bd authored by Scott D Phillips's avatar Scott D Phillips Committed by Dylan Baker
Browse files

meson: Fix define for USE_SSE41

Before we were adding -DHAVE_SSE41 which isn't what the code is
looking for, so some uses of the sse4.1 code were always being
skipped.

v2: Don't add any compile check for the quite old -msse4.1 option (Dylan)

Fixes: 84486f64

 ("meson: Enable SSE4.1 optimizations")
Reviewed-by: default avatarDylan Baker <dylan@pnwbakers.com>
parent 8172b9ff
...@@ -772,7 +772,7 @@ foreach a : ['-Werror=pointer-arith', '-Werror=vla'] ...@@ -772,7 +772,7 @@ foreach a : ['-Werror=pointer-arith', '-Werror=vla']
endforeach endforeach
if host_machine.cpu_family().startswith('x86') if host_machine.cpu_family().startswith('x86')
pre_args += '-DHAVE_SSE41' pre_args += '-DUSE_SSE41'
with_sse41 = true with_sse41 = true
sse41_args = ['-msse4.1'] sse41_args = ['-msse4.1']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment