mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
scons: Pass -mstackrealign option to gcc.
It is impossible to have gcc generate SSE code without it, as thirdparty applications often call us with an unaligned stack pointer.
This commit is contained in:
parent
abc160b664
commit
b0b131b023
1 changed files with 1 additions and 0 deletions
|
|
@ -340,6 +340,7 @@ def generate(env):
|
|||
'-m32',
|
||||
#'-march=pentium4',
|
||||
'-mmmx', '-msse', '-msse2', # enable SIMD intrinsics
|
||||
'-mstackrealign', # ensure stack is aligned -- do not enabled -msse without it!
|
||||
#'-mfpmath=sse',
|
||||
]
|
||||
if env['machine'] == 'x86_64':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue