[Mplayer-cvslog] CVS: main Makefile, 1.304, 1.305 configure, 1.917, 1.918

Nicolas Plourde nicolas.plourde at sympatico.ca
Tue Oct 12 13:40:32 CEST 2004


On 12-Oct-04, at 6:19 AM, Dominik 'Rathann' Mierzejewski wrote:

> On Tuesday, 12 October 2004 at 11:00, Reimar Döffinger wrote:
>> Hi,
>>
>>>> +echocheck "compiler support for -fno-PIC"
>>>> +cat > $TMPC <<EOF
>>>> +int main(void) { return 0; }
>>>> +EOF
>>>> +if cc_check -fno-PIC ; then
>>>> +  CFLAGS="-fno-PIC $CFLAGS"
>>>> +  echores "yes"
>>>> +else
>>>> +  echores "no"
>>>> +fi
>>>> +
>>>>
>>> This patch broke osx build, please fix it.  Looks like osx dont like
>>> -fno-pic flag.
>>
>> Can someone tell me the exact reason? How should this be fixed? Or
>> should I just remove that check?
>
> I don't see what could be wrong with this check (but I don't have 
> access
> to an OSX box). I mean, it simply checks if the compiler accepts the
> -fno-PIC flag, right? So does OSX's gcc accept it and doesn't work 
> later
> or what?
>

Yes osx gcc accept it but condec-cfg and other lib fail to link if its 
on.
Dont know why.

====
Nicolas Plourde <nicolas.plourde at sympatico.ca>




More information about the MPlayer-cvslog mailing list