Subject: CVS commit: basesrc/tools
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/25/2001 04:25:03
Module Name:	basesrc
Committed By:	thorpej
Date:		Thu Oct 25 01:25:03 UTC 2001

Modified Files:
	basesrc/tools: Makefile.host

Log Message:
Add the program's CPPFLAGS to HOST_CPPFLAGS using make(1)'s normal
lazy evaluation semantics, not the "assign it now" semantics.  This
allows variables used in the program's CPPFLAGS to get the correct
values of e.g. MACHINE, MACHINE_ARCH, MACHINE_CPU, etc.

Problem was notices when propagating MACHINE and MACHINE_ARCH via
MAKEFLAGS (i.e. from the command line, rather than the environment).

For this to work, make sure you <bsd.hostprog.mk> is at least rev 1.15.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 basesrc/tools/Makefile.host

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.