[SCM] libav/experimental: configure: enable PIC on s390(x)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:01:48 UTC 2014
The following commit has been merged in the experimental branch:
commit 5ddc9f5052316608799b932c604f9e7561f8ce24
Author: Reinhard Tartler <siretart at tauware.de>
Date: Sun Mar 2 02:11:05 2014 -0500
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 at libav.org
diff --git a/configure b/configure
index 1954c54..d12427d 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
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list