[FFmpeg-devel] [PATCH][0.5] build PIC code on G3 macs

Reinhard Tartler siretart
Tue Feb 2 14:12:19 CET 2010

On Di, Feb 02, 2010 at 13:48:21 (CET), M?ns Rullg?rd wrote:

> Reinhard Tartler <siretart at tauware.de> writes:
>> For details, see http://bugs.debian.org/561956
>> please approve for branches/0.5
>> diff --git a/configure b/configure
>> index fd11501..d0cadb7 100755
>> --- a/configure
>> +++ b/configure
>> @@ -2205,7 +2205,7 @@ if enabled shared; then
>>      # LIBOBJFLAGS may have already been set in the OS configuration
>>      if test -z "$LIBOBJFLAGS" ; then
>>          case "${subarch-$arch}" in
>> -            x86_64|ia64|alpha|sparc*|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
>> +            x86_64|ia64|alpha|sparc*|ppc|power*|parisc*|mips*) LIBOBJFLAGS='$(PIC)' ;;
>>          esac
>>      fi
>>  fi
> Why does this bite only G3?

The problem has been observed on a debian g3 mac, and this patch makes
ffmpeg usable on that machine (a kind debian user granted me shell
access on his laptop to develop and test this patch). I don't know about
other powerpc variants but my intent was to create the least invasive
patch possible for this problem in order to avoid unintended side effects.

Do you have a more general/better change in mind?

Reinhard Tartler, KeyID 945348A4

More information about the ffmpeg-devel mailing list