Fix previously broken x86_64 check, simplifying it in the process.

Originally committed as revision 12475 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-03-17 09:43:32 +00:00
parent 3dddba4b5d
commit 6fce759141
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -1085,7 +1085,7 @@ case "$arch" in
enable fast_unaligned
canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
if [ -z "`echo $CFLAGS | grep -q -- -m32`" ]; then
if ! echo $CFLAGS | grep -q -- -m32; then
arch="x86_64"
enable fast_64bit
fi