port only builds with build_arch=i386 on command line -- any way to specify that in the portfile?

Fred Wright fw at fwright.net
Mon Sep 5 17:10:22 PDT 2016


On Sat, 3 Sep 2016, Ryan Schmidt wrote:

> But only do this if this software requires it. Otherwise, let MacPorts use its default value of -Os.

Seriously?  In this day and age?

AIUI, Apple used to use -Os for their own builds in the PPC era, since it
was needed to keep the bloat down to a dull roar in relation to disk
drives at the time.  But when they switched to Intel, they also switched
to -O2.  This allowed them to inflate the performance benefit of the
architecture switch. :-)

Fred Wright


More information about the macports-dev mailing list