tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: transform for compiler flags on Darwin



* On 2016-08-20 at 22:00 BST, Sevan / Venture37 wrote:

> I'd like to propose the addition of a new transform for Darwin,
> transform so far converts -shared flags to "-dynamiclib -undefined
> dynamic_lookup" which fixes build issue with packages which use
> -shared on old version of Apple's version of GCC with legacy OS X. On
> these versions an error is generated as -shared is an unrecognised
> option.
> It also converts -fpic on -fPIC which reduces noise from warnings.
> 
> Any objections to this change?

I'd like to test that it doesn't cause regressions, but my main
comment is that you should implement it for cwrappers too.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index