Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2014-03-02 11:11:05 +0400
committerReinhard Tartler <siretart@tauware.de>2014-03-07 17:32:55 +0400
commit4b476e6aa4b830f919cf3c67ba2caa039ff285b9 (patch)
tree2227d06c034d3ecafbae31daad1d454f4f1d908c /configure
parenta1ab3300c83a16c2d5f5d29c51393668b9d92667 (diff)
configure: enable PIC on s390(x)
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 (cherry picked from commit 5ddc9f5052316608799b932c604f9e7561f8ce24)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 4c35ab9c29..95537ffd27 100755
--- a/configure
+++ b/configure
@@ -3203,6 +3203,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