Date: Wed, 4 Aug 2004 12:14:52 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Hartmut Brandt <harti@freebsd.org> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/make Makefile main.c nonints.h var.c Message-ID: <20040804121452.51ca6d98@Magellan.Leidinger.net> In-Reply-To: <200408031856.i73IuV8c082723@repoman.freebsd.org> References: <200408031856.i73IuV8c082723@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Aug 2004 18:56:31 +0000 (UTC) Hartmut Brandt <harti@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040804121452.51ca6d98>