tech-pkg: Re: CFLAGS in mk.conf

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 2005年5月30日, 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>

AltStyle によって変換されたページ (->オリジナル) /