Add -fno-strict-aliasing workaround for Linux GCC targets
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 31 Oct 2007 16:47:39 +0000 (09:47 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Wed, 31 Oct 2007 16:47:39 +0000 (09:47 -0700)
commit013dbcd6111bc880e65ed00a7ca31e19230a81d5
tree9f8df16e43a9c39963dcd14a50dbfda92eb0a92e
parent2bdd467dfd3cfe9a479a8e8395620ecc414e18dc
Add -fno-strict-aliasing workaround for Linux GCC targets

Most Linux distros work around aliasing problems in Mesa by compiling
with the GCC option -fno-strict-aliasing. Two examples:

  https://bugs.freedesktop.org/show_bug.cgi?id=6046
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311

This makes -fno-strict-aliasing the default with a comment that
developers should consider commenting it out. There is a already a note
about these bugs in docs/helpwanted.html.
15 files changed:
configs/linux
configs/linux-alpha
configs/linux-alpha-static
configs/linux-directfb
configs/linux-dri
configs/linux-dri-xcb
configs/linux-fbdev
configs/linux-glide
configs/linux-indirect
configs/linux-osmesa
configs/linux-osmesa16
configs/linux-osmesa16-static
configs/linux-osmesa32
configs/linux-solo
configs/linux-x86-glide