cc -> $cc typo fix, caused amd64 to be misdetected as x86 when cc not available

Originally committed as revision 6044 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2006-08-21 19:02:50 +00:00
parent afbbe5e34f
commit 32255f6c2a
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -353,7 +353,7 @@ case "$cpu" in
;; ;;
x86_64|amd64) x86_64|amd64)
cpu="x86" cpu="x86"
canon_arch="`cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`" canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then
cpu="x86_64" cpu="x86_64"