summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-22 22:56:51 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-22 22:56:51 +0000
commitb39c0022edb5ebacc8138486f4a8c2beb8bcfdcb (patch)
tree1832513d5f5411c385b2ee74b68b7845e2633b0c /configure
parenta4b7f5a01b8379cdf7f6538406866d49546902b6 (diff)
downloadmpv-b39c0022edb5ebacc8138486f4a8c2beb8bcfdcb.tar.bz2
mpv-b39c0022edb5ebacc8138486f4a8c2beb8bcfdcb.tar.xz
Allow compilation of 32bit mplayer on 64 bit systems with --cc='cc -m32'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28180 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 51f49fe0fb..97a784ff76 100755
--- a/configure
+++ b/configure
@@ -1339,8 +1339,8 @@ if test -z "$_target" ; then
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