From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 22 23:07:19 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id D7DD11065672; Mon, 22 Nov 2010 23:07:19 +0000 (UTC) Date: Mon, 22 Nov 2010 23:07:19 +0000 From: Alexander Best To: freebsd-hackers@freebsd.org Message-ID: <20101122230719.GA73338@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: CFLAGS and kernel builds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 23:07:19 -0000 share/examples/etc/make.conf states that: # To compile just the kernel with special optimizations, you should use # this instead of CFLAGS (which is not applicable to kernel builds anyway). # There is very little to gain by using higher optimization levels, and doing # so can cause problems. # #COPTFLAGS= -O -pipe this is obviosly wrong, because CFLAGS does get picked up during kernel builds and thus can cause a broken kernel or TARGET=buildworld to fail. shouldn't this sentence be removed or corrected? cheers. alex -- a13x