changeset 28145:9a61b31f9e4b

Allow compilation of 32bit mplayer on 64 bit systems with --cc='cc -m32'.
author cehoyos
date Mon, 22 Dec 2008 22:56:51 +0000
parents 07981d3405b6
children 61dc04503b17
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Dec 22 16:51:06 2008 +0000
+++ b/configure	Mon Dec 22 22:56:51 2008 +0000
@@ -1339,8 +1339,8 @@
       i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686|BePC) host_arch=i386 ;;
       ia64) host_arch=ia64 ;;
       x86_64|amd64)
-        if [ -n "`$_cc -dumpmachine | sed -n '/^x86_64-/p;/^amd64-/p'`" -a \
-             -z "`echo $CFLAGS | grep -- -m32`"  ]; then
+        if [ -n "$($_cc -dumpmachine | sed -n '/^x86_64-/p;/^amd64-/p')" -a \
+             -z "$(echo $CFLAGS $_cc | grep -- -m32)" ]; then
           host_arch=x86_64
         else
           host_arch=i386