projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c981b9
)
scons: Pass -fno-strict-aliasing to gcc.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Dec 2009 12:08:32 +0000
(12:08 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 11 Dec 2009 12:28:53 +0000
(12:28 +0000)
Strict aliasing tule violations were fixed on master, but
they're still causing problem in this branch, so disable this assumptions.
Do not apply this fix to master (revert when you merge).
scons/gallium.py
patch
|
blob
|
history
diff --git
a/scons/gallium.py
b/scons/gallium.py
index ca1ca5153e751d0635adffa349ffd2462e3895e6..0e5de0d0f8e45179e36c4808507f3d64f7ddc00b 100644
(file)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-370,6
+370,7
@@
def generate(env):
'-Wno-long-long',
'-ffast-math',
'-fmessage-length=0', # be nice to Eclipse
+ '-fno-strict-aliasing', # we violate strict pointer aliasing rules
]
cflags += [
'-Werror=declaration-after-statement',