DEFAULT CFLAGS SETTING

Christian Walther cptsalek at gmail.com
Fri Mar 9 00:45:07 UTC 2007


On 08/03/07, White Hat <pigskin_referee at yahoo.com> wrote:
> What is the default CFLAGS setting in FBSD-6.2 and would it improve performance any to set
>
> CFLAGS=Os
>
> as opposed to the default setting?
>
CFLAGS can be defined in /etc/make.conf
My CFLAGS is set to -O2 -pipe. You might want to take a look at
CPUTYPE, too. This can be set to match your CPU type, which means
you'll get the most of it.
You can find some examples in /usr/share/examples/etc/make.conf

HTH
Christian


More information about the freebsd-questions mailing list