From e913eb97c9eb2abd325d3416423925e501710098 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Tue, 21 Sep 2010 10:34:51 -0400 Subject: [PATCH] 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 --- build/make/configure.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/make/configure.sh b/build/make/configure.sh index e4a3da6b6..86759a97f 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -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) -- 2.50.1