Module: Mesa Branch: master Commit: b0b131b023ed3d31fa77cfcd5f9b82f2997c78c7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0b131b023ed3d31fa77cfcd5f9b82f2997c78c7
Author: José Fonseca <[email protected]> Date: Wed Sep 9 21:45:08 2009 +0100 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. --- scons/gallium.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index bf6172b..47b0774 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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': _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
