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 年之前