projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df82734
)
another gcc 4.2.x check for mstackrealign
author
Alan Hourihane
<alanh@vmware.com>
Fri, 29 Jan 2010 10:22:22 +0000
(10:22 +0000)
committer
Alan Hourihane
<alanh@vmware.com>
Fri, 29 Jan 2010 10:22:50 +0000
(10:22 +0000)
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 03856207ed0a260b2f52092355ebdd61e1cfe3fc..ac68bd604cdfdad802542b0483e0a3d70c4a64d0 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-276,8
+276,11
@@
def generate(env):
# instead.
ccflags += [
'-mmmx', '-msse', '-msse2', # enable SIMD intrinsics
- '-mstackrealign', # ensure stack is aligned
]
+ if distutils.version.LooseVersion(ccversion) >= distutils.version.LooseVersion('4.2'):
+ ccflags += [
+ '-mstackrealign', # ensure stack is aligned
+ ]
if env['machine'] == 'x86_64':
ccflags += ['-m64']
# See also: