mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 12:18:09 +02:00
scons: Pass -fno-strict-aliasing to gcc.
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).
This commit is contained in:
parent
8c981b94dc
commit
a2937a2f4e
1 changed files with 1 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue