OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeaf4f3
)
configure: enable PIC on s390(x)
author
Reinhard Tartler
<siretart@tauware.de>
Sun, 2 Mar 2014 07:11:05 +0000
(
02:11
-0500)
committer
Reinhard Tartler
<siretart@tauware.de>
Wed, 5 Mar 2014 02:40:36 +0000
(21:40 -0500)
The s390 architecture requires shared libraries to be built in PIC mode.
Otherwise applications will get wrong relocations at run-time, leading
to confusing segmentation faults.
CC: libav-stable@libav.org
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
1954c54
..
d12427d
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-3220,6
+3220,10
@@
case "$arch" in
check_64bit ppc ppc64 'sizeof(void *) > 4'
spic=$shared
;;
+ s390)
+ check_64bit s390 s390x 'sizeof(void *) > 4'
+ spic=$shared
+ ;;
sparc)
check_64bit sparc sparc64 'sizeof(void *) > 4'
spic=$shared