From 7c8c4b0b12cafb9c24c839633133a7fa8eaf3b90 Mon Sep 17 00:00:00 2001
From: gpoirier <gpoirier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date: Thu, 22 Feb 2007 00:04:50 +0000
Subject: [PATCH] add bfin cpu specific build options, patch by Marc Hoffman %
 mmh P pleasantst P com % original thread: date: Feb 21, 2007 1:32 PM subject:
 [Ffmpeg-devel] bfin cpu specific build options

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8060 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index 2b0ecaa7e..ca5098038 100755
--- a/configure
+++ b/configure
@@ -1328,6 +1328,11 @@ if test $cpu != "generic"; then
         sparc64)
             add_cflags "-mcpu=v9"
         ;;
+        bf*) #bf531 bf532 bf533 bf561 bf5xx all get this config
+            add_cflags "-mfdpic"
+            add_ldflags "-mfdpic"
+            add_ldflags "-Wl,--defsym,__stacksize=0x40000"
+        ;;
         *)
         echo "WARNING: Unknown CPU \"$cpu\", ignored."
         ;;
-- 
2.25.4