Subject: Re: CFLAGS
To: Zafer Aydogan <zafer@aydogan.de>
From: SODA Noriyuki <soda@sra.co.jp>
List: tech-kern
Date: 11/09/2007 01:09:02
>>>>> On Thu, 08 Nov 2007 11:05:13 -0500,
	"Johnny C. Lam" <jlam@pkgsrc.org> said:

> Zafer Aydogan wrote:
>> setting CFLAGS=-g -march=i686 in /etc/mk.conf blows my kernel from
>> 3.5 MB to 21 MB.

> Remove "-g" from your CFLAGS.

And use the following kernel config option, if you want the debug
information:
	makeoptions DEBUG="-g"

See also config(8).
-- 
soda