From e07e357d8414acb342a74fefad0ef0d6382c7c9c Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Sun, 3 Jun 2007 13:09:58 +0000
Subject: [PATCH] Add support for Cell (requires gcc-4.2 or patches)

Originally committed as revision 9181 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index f36ba0e463d..6130b28e2d5 100755
--- a/configure
+++ b/configure
@@ -1365,6 +1365,11 @@ if test $cpu != "generic"; then
             warn_altivec disabled PPC970
             POWERPCMODE="64bits"
         ;;
+        Cell|CELL|cell)
+            add_cflags "-mcpu=cell"
+            warn_altivec disabled Cell
+            POWERPCMODE="64bits"
+        ;;
         # targets that do NOT support conditional mov (cmov)
         i[345]86|pentium|pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
             add_cflags "-march=$cpu"
-- 
GitLab