Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 23:07:19 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   CFLAGS and kernel builds
Message-ID:  <20101122230719.GA73338@freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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