[x264-devel] Configure: force PIC for shared build on PARISC and MIPS

Fabian Greffrath git at videolan.org
Tue Dec 6 01:00:41 CET 2011


x264 | branch: master | Fabian Greffrath <fabian+debian at greffrath.com> | Fri Nov 11 13:25:43 2011 -0800| [a14db080c3fdba4cadc38152a292bb1fa216d50e] | committer: Jason Garrett-Glaser

Configure: force PIC for shared build on PARISC and MIPS

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a14db080c3fdba4cadc38152a292bb1fa216d50e
---

 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index a371cae..f338b5f 100755
--- a/configure
+++ b/configure
@@ -588,7 +588,7 @@ case $host_cpu in
     s390|s390x)
         ARCH="S390"
         ;;
-    parisc|parisc64)
+    hppa*|parisc*)
         ARCH="PARISC"
         ;;
     ia64)
@@ -626,7 +626,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" -o $ARCH = "MIPS" \) ] ; then
     pic="yes"
 fi
 



More information about the x264-devel mailing list