diff options
author | Reinhard Tartler <siretart@tauware.de> | 2014-03-02 02:11:05 -0500 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-03-04 21:40:36 -0500 |
commit | 5ddc9f5052316608799b932c604f9e7561f8ce24 (patch) | |
tree | c875bb20c850cd0981b954af51817703a53d85d9 /configure | |
parent | eeaf4f3b87815cbae4c12856cfaafb3a2dae8e0c (diff) | |
download | ffmpeg-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-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |