add bfin cpu specific build options, patch by Marc Hoffman % mmh P pleasantst P com %
authorMarc Hoffman <mmh@pleasantst.com>
Thu, 22 Feb 2007 00:04:50 +0000 (00:04 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Thu, 22 Feb 2007 00:04:50 +0000 (00:04 +0000)
original thread:
date: Feb 21, 2007 1:32 PM
subject: [Ffmpeg-devel] bfin cpu specific build options

Originally committed as revision 8060 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 2b0ecaa..ca50980 100755 (executable)
--- 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."
         ;;