Am 10.11.2011 15:44, schrieb John David Anglin:
This appears to come from the debian build system. On the other hand,
configure seems
to look for "parisc" or "parisc64". I played with configure a bit but
didn't get it to add -fPIC
automatically.
Does the attached patch help?
I got the package to build by hacking debian/rules to force adding
-fPIC during shared build.
We want to avoid this local fixup and get it done right upstream.
--- Debian.orig/x264/configure
+++ Debian/x264/configure
@@ -574,7 +574,7 @@ case $host_cpu in
s390|s390x)
ARCH="S390"
;;
- parisc|parisc64)
+ hppa|hppa64|parisc|parisc64)
ARCH="PARISC"
;;
ia64)
@@ -612,7 +612,7 @@ if [ $compiler != ICL ]; then
fi
fi
-if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" -o $ARCH = "IA64" \) ] ; then
+if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" -o $ARCH = "IA64" -o $ARCH = "PARISC" \) ] ; then
pic="yes"
fi