[MacPorts] #38218: default configure.optflags should be -Os rather than -O2

MacPorts noreply at macports.org
Tue Feb 26 19:23:46 PST 2013


#38218: default configure.optflags should be -Os rather than -O2
--------------------------+--------------------------------
  Reporter:  jeremyhu@…   |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:  MacPorts Future
 Component:  base         |    Version:  2.1.3
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------------------

Comment (by ryandesign@…):

 `platform powerpc` is syntactic sugar exactly equivalent to `if
 {${os.platform} == "powerpc"}`. There is no syntax `target powerpc` in
 MacPorts. We already have the ${configure.build_arch} and
 ${configure.universal_archs} variables which can be used to inspect the
 architecture(s) being built for. This ticket is only about the one-
 character change needed to change the default configure.optflags from
 `-O2` to `-Os`. Anything else should be discussed elsewhere.

-- 
Ticket URL: <https://trac.macports.org/ticket/38218#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list