---------- Forwarded message ---------- From: benzwt chin <[email protected]> Date: Sat, May 29, 2010 at 2:00 AM Subject: Re: how do I specify a global cflags for all ports ? To: Ryan Schmidt <[email protected]>
One of the major reason to compile a package from source is the gain in performance, provided that we have specify the right cflags such as "-pipe -O2 formit-frame-pointer". I 'm a performance freak. On Sat, May 29, 2010 at 1:54 AM, Ryan Schmidt <[email protected]> wrote: > > On May 28, 2010, at 12:43, benzwt chin wrote: > >> Is it possible to append/assign a global cflags such as >> "-march=nocona" for all packages ? >> or I have to key in the cflags for into the Portfile, it will be a tedious >> job ? > > We have the variable "configure.march" available in portfiles for this > purpose; not sure if this variable is settable globally in macports.conf. > > Why do you want to use this setting? Ports have probably not been tested with > this setting so even if you can find a way to set it, I imagine some ports > may break. > > > > _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
