summaryrefslogtreecommitdiff
path: root/configs/linux-osmesa16-static
AgeCommit message (Collapse)Author
2007-10-31configs: Always use -fPIC for shared libraries, never for staticDan Nicholson
Mesa currently disables -fPIC for DRI on x86, but most Linux distros are re-enabling -fPIC for all DRI arches. Let's just do that here since that's normally what's wanted for shared libraries. Some justification: http://bugs.gentoo.org/show_bug.cgi?id=110840#c9 On the other hand, position-independent code is only necessary when building shared libraries, so disable it for the static cases.
2007-10-31Add -fno-strict-aliasing workaround for Linux GCC targetsDan Nicholson
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.
2004-03-26new system configurationsBrian Paul