summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-08-21 19:02:50 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-08-21 19:02:50 +0000
commit32255f6c2a38ecf6cae0b7902815e24c8f1024dd (patch)
tree17718fa97d27618809cc0968d3c83fd0753323da /configure
parentafbbe5e34f17a1efea93558b55de6d47187a8fb0 (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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"