From owner-freebsd-questions@FreeBSD.ORG Thu Mar 13 13:21:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 237581065672 for ; Thu, 13 Mar 2008 13:21:57 +0000 (UTC) (envelope-from fbsd06+T7=60d89361@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id E23E68FC13 for ; Thu, 13 Mar 2008 13:21:56 +0000 (UTC) (envelope-from fbsd06+T7=60d89361@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by turtle-in.mxes.net (Postfix) with ESMTP id 458B3163F83 for ; Thu, 13 Mar 2008 09:01:53 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 72C59D0BA7 for ; Thu, 13 Mar 2008 09:01:50 -0400 (EDT) Date: Thu, 13 Mar 2008 13:01:47 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080313130147.70fae093@gumby.homeunix.com.> In-Reply-To: <7AB40EFE5B504CD0B1EBF6E0223EB69B@L02D81003> References: <47D9004D.5070407@planet.nl> <9A6A62B6B84859469F3EBB5F09D818CA219E98@cernxchg50.cern.ch> <7AB40EFE5B504CD0B1EBF6E0223EB69B@L02D81003> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Tuning make.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 13:21:57 -0000 On Thu, 13 Mar 2008 14:05:27 +0200 "Reko Turja" wrote: > > > MAKEOPTS==-j3 > > CPUTYPE=core2 > > CFLAGS+= --O2 -pipe -fno-strict-aliasing > > Setting CFLAGS can cause errors while compiling and other undesirable > effects, so I recommend leaving CFLAGS undefined. > If you want to optimise things use COPTFLAGS instead. Don't set either of them, they both get set automatically, and messing with COPTFLAGS is potentially more dangerous than with messing CFLAGS. Just set CPUTYPE unless you know what you are doing.