[MacPorts] #2193: RFE: let me specify -mcpu for all ports

MacPorts trac at macosforge.org
Tue Dec 11 08:27:20 PST 2007


#2193: RFE: let me specify -mcpu for all ports
-------------------------------------+--------------------------------------
  Reporter:  joseph8s at earthlink.net  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement             |      Status:  new                                  
  Priority:  Low                     |   Milestone:  MacPorts base enhancements           
 Component:  base                    |     Version:                                       
Resolution:                          |    Keywords:                                       
-------------------------------------+--------------------------------------
Comment (by mww at macports.org):

 You can add optimization flags already, e.g.
 {{{
 port -d configure libgnugetopt configure.cflags="-O3 -march=nocona -ftree-
 vectorize"
 }}}
 to overwrite the standard ''-O2'' optimization. Of course this can screw
 up the resulting binaries in fantastic ways...
 [[BR]]
 Most ports honor a subset of ''configure.cflags'', ''configure.cxxflags'',
 ''configure.objcflags'', ''configure.fflags'', ''configure.f90flags'' and
 ''configure.fcflags'' -- if applicable.
 [[BR]]
 If someone wants to make those options accessible via the config files:
 Have a look at ''portconfigure.tcl''; it should be fairly easy;

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/2193#comment:5>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list