From owner-freebsd-questions@FreeBSD.ORG Thu Mar 13 12:05:31 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 168DE106568C for ; Thu, 13 Mar 2008 12:05:31 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [62.220.235.15]) by mx1.freebsd.org (Postfix) with ESMTP id BFC5D8FC31 for ; Thu, 13 Mar 2008 12:05:30 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from localhost (unknown [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id AA2591CC6A; Thu, 13 Mar 2008 14:01:55 +0200 (EET) Received: from www.liukuma.net ([127.0.0.1]) by localhost (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kad8YzxPJJf3; Thu, 13 Mar 2008 14:01:54 +0200 (EET) Received: from L02D81003 (unknown [195.148.43.236]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTP id CCA331CC68; Thu, 13 Mar 2008 14:01:53 +0200 (EET) Message-ID: <7AB40EFE5B504CD0B1EBF6E0223EB69B@L02D81003> From: "Reko Turja" To: "Luca Presotto" References: <47D9004D.5070407@planet.nl> <9A6A62B6B84859469F3EBB5F09D818CA219E98@cernxchg50.cern.ch> Date: Thu, 13 Mar 2008 14:05:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 Cc: freebsd-questions@freebsd.org 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 12:05:31 -0000 > Should my make.conf be like: > MAKEOPTS==-j3 > CPUTYPE=core2 > CFLAGS= --O2 -pipe -fno-strict-aliasing > > or just: > MAKEOPTS==-j3 > CPUTYPE=core2 > > or maybe: > > 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. -Reko