Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2004 01:50:27 +1100
From:      Gautam Gopalakrishnan <ggop@madras.dyndns.org>
To:        David Fleck <david.fleck@mchsi.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: appending to CFLAGS
Message-ID:  <20040110145027.GA64139@madras.dyndns.org>
In-Reply-To: <20040110084259.A4634@grond.sourballs.org>
References:  <20040110084259.A4634@grond.sourballs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 10, 2004 at 08:47:16AM -0600, David Fleck wrote:
> 4.9-RELEASE-p1.
> 
> I'm trying to debug a kernel module (vpo.ko) that used to work, but now
> doesn't.  As a first step, I'd like to build the module in
> /usr/src/sys/modules/vpo with VPO_DEBUG set.
> 
> However, my attempts to add the VPO_DEBUG define to the build fail,
> because my syntax results in VPO_DEBUG replacing CFLAGS, not appended to
> it.  I'm trying:
> 
> make "CFLAGS+=VPO_DEBUG"

You could take the easy way and add it to CFLAGS in /etc/make.conf

Gautam



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