From: Reimar Döffinger Date: Mon, 21 Aug 2006 19:02:50 +0000 (+0000) Subject: cc -> $cc typo fix, caused amd64 to be misdetected as x86 when cc not available X-Git-Tag: v0.5~12067 X-Git-Url: https://git.libav.org/?p=libav.git;a=commitdiff_plain;h=32255f6c2a38ecf6cae0b7902815e24c8f1024dd 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 --- diff --git a/configure b/configure index 412e827a97..5af796f8ff 100755 --- a/configure +++ b/configure @@ -353,7 +353,7 @@ case "$cpu" in ;; x86_64|amd64) 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 [ -z "`echo $CFLAGS | grep -- -m32`" ]; then cpu="x86_64"