projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf0789
)
scons: Make PIPE_ALIGN_VAR() of static/global vars work on MinGW.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 16 Jul 2010 20:26:43 +0000
(21:26 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 16 Jul 2010 20:27:14 +0000
(21:27 +0100)
Workaround http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index dd7275460dae08b595f2db04256c95f3502976ec..388f4460ab492035c666da414343743624f2927b 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-282,6
+282,9
@@
def generate(env):
ccflags += [
'-mmmx', '-msse', '-msse2', # enable SIMD intrinsics
]
+ if platform == 'windows':
+ # Workaround http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
+ ccflags += ['-fno-common']
if distutils.version.LooseVersion(ccversion) >= distutils.version.LooseVersion('4.2'):
ccflags += [
'-mstackrealign', # ensure stack is aligned