[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    CFLAGS and kernel builds
From:       Alexander Best <arundel () freebsd ! org>
Date:       2010-11-22 23:07:19
Message-ID: 20101122230719.GA73338 () freebsd ! org
[Download RAW message or body]

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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic