Fwd: how do I specify a global cflags for all ports ?
benzwt chin
benzwt at gmail.com
Fri May 28 11:24:16 PDT 2010
---------- Forwarded message ----------
From: benzwt chin <benzwt at gmail.com>
Date: Sat, May 29, 2010 at 2:00 AM
Subject: Re: how do I specify a global cflags for all ports ?
To: Ryan Schmidt <ryandesign at macports.org>
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 <ryandesign at macports.org> 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.
>
>
>
>
More information about the macports-users
mailing list