diff --git a/configure b/configure index ccca8d85d9..f1eab728fe 100755 --- a/configure +++ b/configure @@ -2085,7 +2085,7 @@ fi if enabled shared; then # LIBOBJFLAGS may have already been set in the OS configuration if test -z "$LIBOBJFLAGS" ; then - case "$arch" in + case "${subarch-$arch}" in x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;; esac fi