[SCM] libav/experimental: allow various x86 models with --tune

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:43:58 UTC 2013


The following commit has been merged in the experimental branch:
commit efc39ba89a6260f550077d7c37900bb35150a4a6
Author: Måns Rullgård <mans at mansr.com>
Date:   Thu May 12 23:06:47 2005 +0000

    allow various x86 models with --tune
    
    Originally committed as revision 4230 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 8d6705b..6c2727b 100755
--- a/configure
+++ b/configure
@@ -691,8 +691,11 @@ if test $tune != "generic"; then
 	    TUNECPU=ppc970
             POWERPCMODE="64bits"
 	;;
+	i[3456]86|pentium|pentiumpro|pentium-mmx|pentium[234]|prescott|k6|k6-[23]|athlon|athlon-tbird|athlon-4|athlon-[mx]p|winchip-c6|winchip2|c3|nocona)
+	    CFLAGS="$CFLAGS -march=$tune"
+	;;
 	*)
-	echo "WARNING: unknown CPU "$tune", ignored"
+	echo "WARNING: unknown CPU \"$tune\", ignored"
 	;;
     esac
 fi

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list