Configure: force PIC for shared build on PARISC and MIPS
authorFabian Greffrath <fabian+debian@greffrath.com>
Fri, 11 Nov 2011 21:25:43 +0000 (13:25 -0800)
committerFiona Glaser <fiona@x264.com>
Fri, 11 Nov 2011 21:41:26 +0000 (13:41 -0800)
configure

index a371cae..f338b5f 100755 (executable)
--- 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