Subject: Re: CFLAGS in mk.conf
To: None <ghen@telenet.be>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 05/31/2005 17:02:17
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.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>