mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 18:10:11 +01:00
meson: disable sse4.1 optimizations with msvc
There isn't an obvious command line switch here, /arch:AVX *might* be the right thing, but meson doesn't know what to do here either and leaves the -msse4.1 and -mstackrealign. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
150aec5d1f
commit
d2cb0a59ce
1 changed files with 1 additions and 1 deletions
|
|
@ -1027,7 +1027,7 @@ if host_machine.system() == 'windows'
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if host_machine.cpu_family().startswith('x86')
|
if host_machine.cpu_family().startswith('x86') and cc.get_id() != 'msvc'
|
||||||
pre_args += '-DUSE_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