--- mesa-21.3.3/meson.build.orig 2022-01-06 17:30:29.318317000 +0100 +++ mesa-21.3.3/meson.build 2022-01-06 17:31:48.709078000 +0100 @@ -1237,24 +1237,9 @@ if host_machine.cpu_family().startswith( sse41_args = ['-msse4.1'] if host_machine.cpu_family() == 'x86' - if get_option('sse2') - # These settings make generated GCC code match MSVC and follow - # GCC advice on https://gcc.gnu.org/wiki/FloatingPointMath#x86note - # - # NOTE: We need to ensure stack is realigned given that we - # produce shared objects, and have no control over the stack - # alignment policy of the application. Therefore we need - # -mstackrealign or -mincoming-stack-boundary=2. - # - # XXX: We could have SSE without -mstackrealign if we always used - # __attribute__((force_align_arg_pointer)), but that's not - # always the case. - c_args += ['-msse2', '-mfpmath=sse', '-mstackrealign'] - else - # GCC on x86 (not x86_64) with -msse* assumes a 16 byte aligned stack, but - # that's not guaranteed - sse41_args += '-mstackrealign' - endif + # GCC on x86 (not x86_64) with -msse* assumes a 16 byte aligned stack, but + # that's not guaranteed + sse41_args += '-mstackrealign' endif else with_sse41 = false