From 23595aa427073d876b828646e973be5b28cb5676 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sun, 6 Jan 2013 16:09:35 -0600 Subject: [PATCH] mesa: Drop mmx optimizations on Haiku * Prevents compatibility problems. As Haiku doesn't use rtasm anymore, it's kind of pointless. --- scons/gallium.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index 98671f75d2f..7207c6bb26c 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -361,8 +361,7 @@ def generate(env): ccflags += [ '-mstackrealign', # ensure stack is aligned '-march=i586', # Haiku target is Pentium - '-mtune=i686', # use i686 where we can - '-mmmx' # use mmx math where we can + '-mtune=i686' # use i686 where we can ] if env['machine'] == 'x86_64': ccflags += ['-m64']