From: Fabian Greffrath Date: Fri, 11 Nov 2011 21:25:43 +0000 (-0800) Subject: Configure: force PIC for shared build on PARISC and MIPS X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1387840b98560ae34aea9ca09d55984812ad50b;p=libx264 Configure: force PIC for shared build on PARISC and MIPS --- diff --git a/configure b/configure index a371caeb..f338b5fc 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