Dan Nicholson
6aaf9bdd41
configs: Fix linking with static libGL and --as-needed
Linking of the programs breaks when using a static libGL and the GNU ld
option --as-needed. This is because libXext is needed for the XShm
functions.
il y a 18 ans
Dan Nicholson
c3b5adaa9a
configs: Always use -fPIC for shared libraries, never for static
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.
il y a 18 ans
Dan Nicholson
162914675a
update APP_LIB_DEPS for static library configs (patch 3/3)
il y a 18 ans
José Fonseca
59424e2d34
Update x86's static and profile configs.
il y a 18 ans
Brian Paul
883f9891cb
LIB_DIR is now just 'lib' or 'lib64'
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets.
Patch by Hanno Böck.
il y a 19 ans
Brian Paul
cbed2f8061
more updates (Dan Schikore)
il y a 19 ans
Ian Romanick
9204e87b2e
Massive refactor of (most of) the Linux config files. This reduces
the length of each config and brings a lot of much needed uniformity
to them.
il y a 20 ans
Brian Paul
a33f0d3024
remove -ansi -pedantic -D_POSIX_C_SOURCE=199309L from CXXFLAGS
il y a 20 ans
Eric Anholt
baa832d311
Change another usage of __AMD64__ to the standard __amd64__, and remove
__AMD64__ from the linux configs so it won't creep back in as easily. Fixes
hang on FreeBSD on the first lock grab.
il y a 20 ans
Brian Paul
d84f09306c
Replace -lGL with -l$(GL_LIB), etc.
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
il y a 21 ans
Keith Whitwell
69ab4fec12
AMD64 changes from Ronny V. Vindenes.
il y a 21 ans
Brian Paul
a70ad91209
new system configurations
il y a 21 ans