why does standard configure uses -Os?

Chris Jones jonesc at hep.phy.cam.ac.uk
Wed Dec 27 19:05:53 UTC 2017



> On 25 Dec 2017, at 5:37 pm, Clemens Lang <cal at macports.org> wrote:
> 
> Hi,
> 
> On Mon, Dec 25, 2017 at 08:32:00AM +0000, Chris Jones wrote:
>>> Ports are free to override configure.optflags if desired.
>> 
>> That’s not the same as simply letting the underlying package decide,
>> via its configure script or similar. That’s the point at which
>> upstream gets to say what they feel is best.
> 
> The software's default choice is not always a good choice. For example,
> some packages out there compile with -march=native by default, which
> will be a problem for packages built by our buildbots and distributed to
> users.

Well yes, that is true. I was only talking though about the optimisation levels, -O<something>. 

Chris
> 
> -- 
> Clemens



More information about the macports-dev mailing list