reopen 31679 and properly fix

Joshua Root jmr at macports.org
Sun Mar 4 17:52:43 PST 2012


On 2012-3-5 03:44 , Jack Howarth wrote:
> On Mon, Mar 05, 2012 at 02:51:00AM +1100, Joshua Root wrote:
>> On 2012-3-5 01:27 , Jack Howarth wrote:
>>>  platform darwin 11 {
>>> +    configure.cflags-append -std=c89
>>>      configure.ldflags-append -Wl,-no_pie
>>>  }
>>
>> That's not right, it needs to be conditional on the compiler (or just
>> added unconditionally), not the OS version.
>>
>> - Josh
> 
> Josh,
>    You have to be careful with -Wl,-no_pie as earlier Xcode 3.x releases
> don't understand that linker option.
>           Jack

I was referring to the change you made, i.e. appending -std=c89, not the
pre-existing -Wl,-no_pie. The latter is of course dependent on the OS
version.

- Josh


More information about the macports-dev mailing list