Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 10:45:59 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: clock reverts to epoch on boot?
Message-ID:  <200602140945.k1E9jxBa048710@lurza.secnetix.de>
In-Reply-To: <7.0.1.0.2.20060213212221.04c7da20@tellurian.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Vinny Abello <vinny@tellurian.com> wrote:
 > CPUTYPE=pentium4

Better use "?=".

 > CFLAGS= -O2 -pipe
 > COPTFLAGS= -O -pipe

I recommend not to overide those two at all.  Especially
your CFLAGS setting might generate broken code because
there are sources which are not aliasing-clean, which can
break with any optimizations beyond -O, unless you also
specify -fno-strict-aliasing.

The defaults are "-O2 -fno-strict-aliasing -pipe" for
CFLAGS, and for COPTFLAGS it's "-O -pipe" if DEBUG is
defined (the default in GENERIC), otherwise "-O2 -pipe
-fno-strict-aliasing".

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.

"I learned Java 3 years before Python.  It was my language of
choice.  It took me two weekends with Python before I was more
productive with it than with Java." -- Anthony Roberts



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