From owner-freebsd-stable@FreeBSD.ORG Thu Oct 27 10:39:23 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FFD816A41F for ; Thu, 27 Oct 2005 10:39:23 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F2F943D49 for ; Thu, 27 Oct 2005 10:39:22 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (gfelop@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.1/8.13.1) with ESMTP id j9RAdKdZ038838 for ; Thu, 27 Oct 2005 12:39:20 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.1/8.13.1/Submit) id j9RAdKe9038837; Thu, 27 Oct 2005 12:39:20 +0200 (CEST) (envelope-from olli) Date: Thu, 27 Oct 2005 12:39:20 +0200 (CEST) Message-Id: <200510271039.j9RAdKe9038837@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <435F8811.2020104@veldy.net> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.11-RELEASE (i386)) Cc: Subject: Re: make.conf for 6.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 10:39:23 -0000 Thomas T. Veldhouse 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"