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. |
||
---|---|---|
bin | ||
configs | ||
docs | ||
doxygen | ||
include | ||
progs | ||
src | ||
vms | ||
windows | ||
.gitignore | ||
Makefile | ||
Makefile.DJ | ||
Makefile.mgw | ||
descrip.mms | ||
mms-config. |
docs/README.directfb
Mesa DirectFB Information Requirements ============ To build Mesa with DirectFB (DirectFBGL) support you need: - DirectFB at least 1.0.0 (http://directfb.org) - pkg-config at least 0.9 (http://pkgconfig.sf.net) Installation ============ Run make linux-directfb to build Mesa and DirectFBGL module, make install to install OpenGL libraries and make linux-directfb-install to install DirectFBGL module in the proper location.