aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2014-03-02 02:11:05 -0500
committerReinhard Tartler <siretart@tauware.de>2014-03-04 21:40:36 -0500
commit5ddc9f5052316608799b932c604f9e7561f8ce24 (patch)
treec875bb20c850cd0981b954af51817703a53d85d9 /configure
parenteeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c (diff)
downloadffmpeg-5ddc9f5052316608799b932c604f9e7561f8ce24.tar.gz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 1954c54487..d12427da15 100755
--- 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