projects
/
profile
/
ivi
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b2ca5
)
configure: enable PIC for shared libs by default
author
John Koleszar
<jkoleszar@google.com>
Tue, 21 Sep 2010 14:34:51 +0000
(10:34 -0400)
committer
John Koleszar
<jkoleszar@google.com>
Fri, 24 Sep 2010 12:40:27 +0000
(08:40 -0400)
Shared libs generally require PIC, so this saves a little typing at
configure time.
Change-Id: I357d70cc68434f3283fee78873052d2b7d77c777
build/make/configure.sh
patch
|
blob
|
history
diff --git
a/build/make/configure.sh
b/build/make/configure.sh
index
e4a3da6
..
86759a9
100755
(executable)
--- 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)