[SCM] libav/experimental: cc -> $cc typo fix, caused amd64 to be misdetected as x86 when cc not available

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:50:07 UTC 2013


The following commit has been merged in the experimental branch:
commit 32255f6c2a38ecf6cae0b7902815e24c8f1024dd
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Mon Aug 21 19:02:50 2006 +0000

    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 412e827..5af796f 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"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list