[Ffmpeg-devel] [PATCH] build with '--enable-gprof'

Roine Gustafsson roine
Mon Dec 11 21:10:24 CET 2006


On 11 Dec 2006, at 21:34, Michael Niedermayer wrote:
> On Mon, Dec 11, 2006 at 03:05:58PM +0300, Dmitry Antipov wrote:
>> Michael Niedermayer wrote:
>>
>>>> But ffmpeg compiles without '-fPIC' or '-fpic' even if '--enable- 
>>>> shared',
>>>> and only
>>>> vhook compiles with PIC option(s). Is this a bug :-) ?
>>>
>>> i dont think this is true for x86 on all OSs
>>
> [...]
>>
>> Am I doing wrong something ?
>
> configure says:
>
> OpenBSD)
> ...
> LIBOBJFLAGS="\$(PIC)"
>
> so on OpenBSD for example PIC is used

Darwin (e.g Mac OS X) requires -fPIC for shared libraries on both x86  
and PowerPC.


   Roine




More information about the ffmpeg-devel mailing list