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

MacPorts noreply at macports.org
Thu Feb 28 03:21:59 PST 2013


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

Comment (by jmr@…):

 Is that actually true for clang? The gcc man page has a more detailed
 explanation of what the optimisation levels do, and also mentions -Oz,
 which "enables other optimizations intended solely to reduce code size"
 and is "very similar to -Os in FSF distributions of GCC". Clang could be
 doing any combination of the things selected by either of these levels in
 GCC, or more.

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


More information about the macports-tickets mailing list