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:43:10 -0500 |
commit | 798c715f4fa5cde37456af6202a32ee62cfb96d9 (patch) | |
tree | e5e6afd803a9ca2dd61614e99c6923b30524855b | |
parent | aa2a3ca27a3269e2b975686652204607fad8bc49 (diff) | |
download | ffmpeg-798c715f4fa5cde37456af6202a32ee62cfb96d9.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
(cherry picked from commit 5ddc9f5052316608799b932c604f9e7561f8ce24)
(cherry picked from commit 7509c2c4ea2180733cc60ab1a0e0fe4ce2f02a69)
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2818,6 +2818,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 |