Subject: Re: CFLAGS in mk.conf
To: Todd Vierling <tv@duh.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 06/01/2005 01:06:36
On Tue, May 31, 2005 at 05:02:17PM -0400, Todd Vierling wrote:
> On Mon, 30 May 2005, Geert Hendrickx wrote:
>
> > Another question: (how) can /etc/mk.conf CFLAGS be overriden from the
> > commandline?
>
> Use the following snippet, if you want to parameterize your own CFLAGS
> fragment.
>
> =====
> MY_CFLAGS?= -Os -someotheroption
> CFLAGS+= ${MY_CFLAGS}
> =====
>
> Then you can set the value of MY_CFLAGS in your environment or on the make
> command line.
Thanks!!
GH
--
:wq