Subject: CVS commit: src/distrib/cdrom/macppc_installboot
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 10/15/2006 04:24:11
Module Name:	src
Committed By:	tsutsui
Date:		Sun Oct 15 04:24:11 UTC 2006

Modified Files:
	src/distrib/cdrom/macppc_installboot: Makefile

Log Message:
Don't add `-I${NETBSDSRCDIR}/sys' to HOST_CPPFLAGS to pull
necessary target system headers (<fs/unicode.h> and <fs/cd9660/iso.h>)
because system headers for the host (like <sys/stat.h>) are also pulled
from there and it causes build errors if target src tree is different
from installed one on the host.
Instead, copy the necessary system headers for host's programs into
${.OBJDIR} first.

Problem reported from Geert Hendrickx, and there is no particular comment
on tech-toolchain.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/distrib/cdrom/macppc_installboot/Makefile

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