OSDN Git Service

fix ffmpeg build on osx i386
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 27 Nov 2009 20:24:26 +0000 (20:24 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 27 Nov 2009 20:24:26 +0000 (20:24 +0000)
commita17e2c45e86bc502be186b43efbea67f63b206c9
tree90d3ce3c6c542b0f06d73d223d825380435d96d0
parent6ea681c2e1c069425b79e0b6c16530418609e90e
fix ffmpeg build on osx i386
gcc 4.2 on osx defines the built-in macro __PIC__ which ffmpeg's configure
uses to determine if it should enable pic.  Enabling pic uses extra
registers which causes some inline asm to fail due to lack of available
registers.

I disabled the normal check and forced pic enabled for x86_64 since it
requires it.

git-svn-id: svn://localhost/HandBrake/trunk@2987 b64f7644-9d1e-0410-96f1-a4d463321fa5
contrib/ffmpeg/P02-darwin-pic.patch [new file with mode: 0644]