summaryrefslogtreecommitdiffstats
path: root/configs/linux-osmesa16-static
Commit message (Collapse)AuthorAgeFilesLines
* Make osdemos linking like other programsDan Nicholson2007-12-071-1/+1
| | | | | | | | | | Most of the programs list their dependencies on the Mesa libraries in their Makefiles. This works with the default configuration where APP_LIB_DEPS only lists external libraries. This changes the linux-osmesa configs and the osdemos Makefile to follow that convention. Some cleanup of the Makefile is also added to refer to the GL libraries through the existing variables rather than hardcoding their names.
* configs: Always use -fPIC for shared libraries, never for staticDan Nicholson2007-10-311-0/+1
| | | | | | | | | | | 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.
* Add -fno-strict-aliasing workaround for Linux GCC targetsDan Nicholson2007-10-311-0/+3
| | | | | | | | | | | | 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.
* new system configurationsBrian Paul2004-03-261-0/+28