diff options
author | Dan Nicholson <[email protected]> | 2007-10-31 10:33:20 -0700 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2007-11-01 11:01:10 -0700 |
commit | c984017f71b3d5fc752e3c39d42e83a8b894c3d2 (patch) | |
tree | c25475dda1cfca979a455c9af60233ca05ac7b1a /configs/linux-dri | |
parent | 00e7dd8a1387155f73030b2ab28902ecf031e6e0 (diff) |
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.
(cherry picked from commit c3b5adaa9a7bdb7e61305c32e4991e3b38dab902)
Diffstat (limited to 'configs/linux-dri')
0 files changed, 0 insertions, 0 deletions