ref: e913eb97c9eb2abd325d3416423925e501710098
parent: f9b2ca5b99c9de6fa503daf44f789b983579522d
author: John Koleszar <jkoleszar@google.com>
date: Tue Sep 21 06:34:51 EDT 2010
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
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -562,6 +562,9 @@
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)