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:
John Koleszar 2010-09-21 10:34:51 -04:00
parent f9b2ca5b99
commit e913eb97c9

View File

@ -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)