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.
Showing
- configs/linux-alpha-static 1 addition, 0 deletionsconfigs/linux-alpha-static
- configs/linux-dri-x86 0 additions, 3 deletionsconfigs/linux-dri-x86
- configs/linux-osmesa16-static 1 addition, 0 deletionsconfigs/linux-osmesa16-static
- configs/linux-ppc-static 1 addition, 0 deletionsconfigs/linux-ppc-static
- configs/linux-solo-x86 0 additions, 3 deletionsconfigs/linux-solo-x86
- configs/linux-static 1 addition, 0 deletionsconfigs/linux-static
- configs/linux-x86-64-static 1 addition, 0 deletionsconfigs/linux-x86-64-static
- configs/linux-x86-static 1 addition, 0 deletionsconfigs/linux-x86-static
Loading
Please register or sign in to comment