configure: enable PIC for shared libs by default
Shared libs generally require PIC, so this saves a little typing at configure time. Change-Id: I357d70cc68434f3283fee78873052d2b7d77c777
This commit is contained in:
parent
f9b2ca5b99
commit
e913eb97c9
@ -562,6 +562,9 @@ process_common_toolchain() {
|
||||
mips*) enable mips;;
|
||||
esac
|
||||
|
||||
# PIC is probably what we want when building shared libs
|
||||
enabled shared && soft_enable pic
|
||||
|
||||
# Handle darwin variants
|
||||
case ${toolchain} in
|
||||
*-darwin8-gcc)
|
||||
|
Loading…
Reference in New Issue
Block a user