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.
преди 18 години
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.
преди 18 години
Dan Nicholson
162914675a
update APP_LIB_DEPS for static library configs (patch 3/3)
преди 18 години
José Fonseca
59424e2d34
Update x86's static and profile configs.
преди 18 години
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.
преди 19 години
Brian Paul
cbed2f8061
more updates (Dan Schikore)
преди 19 години
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.
преди 20 години
Brian Paul
a33f0d3024
remove -ansi -pedantic -D_POSIX_C_SOURCE=199309L from CXXFLAGS
преди 20 години
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.
преди 20 години
Brian Paul
d84f09306c
Replace -lGL with -l$(GL_LIB), etc.
Remove GLU_LIB_DEPS, OSMESA_LIB_DEPS lines if identical to 'default' file.
преди 21 години
Keith Whitwell
69ab4fec12
AMD64 changes from Ronny V. Vindenes.
преди 21 години
Brian Paul
a70ad91209
new system configurations
преди 21 години