why does standard configure uses -Os?

Clemens Lang cal at macports.org
Mon Dec 25 17:37:16 UTC 2017


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.

-- 
Clemens


More information about the macports-dev mailing list