Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2007 00:45:06 +0000
From:      "Christian Walther" <cptsalek@gmail.com>
To:        "White Hat" <pigskin_referee@yahoo.com>
Cc:        FreeBSD Users Questions <freebsd-questions@freebsd.org>
Subject:   Re: DEFAULT CFLAGS SETTING
Message-ID:  <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com>
In-Reply-To: <989294.46444.qm@web34411.mail.mud.yahoo.com>
References:  <989294.46444.qm@web34411.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/03/07, White Hat <pigskin_referee@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14989d6e0703081645q9b555b5i26cca0557590e9cd>