mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
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: 84486f6462 ("meson: Enable SSE4.1 optimizations")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
8172b9ff48
commit
0b8d38bd48
1 changed files with 1 additions and 1 deletions
|
|
@ -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']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue