MacPorts and extra optimization flags

Anders F Björklund afb at
Tue Sep 9 04:54:14 PDT 2008

Marcin Roman wrote:

> I wonder, if it is possible to tell macports to compile ports using
> some additional cc flags like -march=prescott?

"configure.march" and "configure.mtune" were intended for this,
available in base trunk. No configuration options yet, though.

They're used something like:
port build configure.march=generic configure.mtune=native


More information about the macports-users mailing list