cvs commit: src/usr.bin/make Makefile main.c nonints.h var.c
Alexander Leidinger
Alexander at Leidinger.net
Wed Aug 4 03:14:22 PDT 2004
On Tue, 3 Aug 2004 18:56:31 +0000 (UTC)
Hartmut Brandt <harti at freebsd.org> wrote:
> harti 2004-08-03 18:56:31 UTC
>
> FreeBSD src repository
>
> Modified files:
> usr.bin/make Makefile main.c nonints.h var.c
> Log:
> Put variable assignments from the command line into the MAKEFLAGS
> variable as required by POSIX. This causes such variables to be
> pushed into all sub-makes called by the make (except when the MAKEFLAGS
> variable is explicitely changed in the sub-make's environment).
> This makes them also mostly un-overrideable in sub-makes except on the
> sub-make's command line. Therefor specifying 'make CC=icc' will cause
> icc to be used as C compiler in all sub-makes no matter what the Makefiles
> itself try to do to the CC variable.
Yeah!
Does this mean I can override the CFLAGS from make.conf now with 'make
"CFLAGS=foo bar"'?
Does this also apply to environment variables (CFLAGS="foo bar" make)?
Bye,
Alexander.
--
I'm available to get hired (preferred in .lu).
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
More information about the cvs-src
mailing list