Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 12:39:20 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: make.conf for 6.0
Message-ID:  <200510271039.j9RAdKe9038837@lurza.secnetix.de>
In-Reply-To: <435F8811.2020104@veldy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas T. Veldhouse <veldy@veldy.net> wrote:
 > Hmm ... I find this thread surprising, as this is the first I have heard 
 > of FreeBSD working correctly with -O2.  So, is this the options 
 > suggested for make.conf on x86?
 > 
 > CFLAGS= -O2 -pipe -fno-strict-aliasing
 > COPTFLAGS= -O2 -pipe

In fact, those are the defaults (at least in FreeBSD 6 on
i386; amd64 uses additional options like -frename-registers),
so I would suggest to _not_ specify the options in make.conf
at all.

If you specify a "CPUTYPE" setting in /etc/make.conf, then
appropriate "-march=xxx" options will be added to CFLAGS and
COPTFLAGS automatically, so you don't have to care for that
either.

As the saying goes:  "Less is more" ...  ;-)

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"File names are infinite in length, where infinity is set to 255 characters."
        -- Peter Collinson, "The Unix File System"



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