Subject: lib/3750: ${CPP} is called from src/lib/libc/sys/ without ${CPPFLAGS}
To: None <>
From: Curt Sampson <>
List: netbsd-bugs
Date: 06/15/1997 17:12:20
>Number:         3750
>Category:       lib
>Synopsis:       ${CPP} is called from src/lib/libc/sys/ without ${CPPFLAGS}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 15 17:20:02 1997
>Originator:     Curt Sampson
Curt Sampson	   Info at
Internet Portal Services, Inc.	   Through infinite myst, software reverberates
Vancouver, BC  (604) 257-9400	   In code possess'd of invisible folly.
>Release:        1997.06.14
System: NetBSD 1.2E NetBSD 1.2E (CYNIC) #40: Mon Jun 9 14:24:47 PDT 1997 i386


src/lib/libc/sys/ calls ${CPP} on some files which are
then passed to the assembler, but it does not pass ${CPPFLAGS} as
well. This may or may not cause problems with the current system,
but with the cjs-build-against-obj-dir branch, ${CPPFLAGS} is used
to pass the include directory information to ${CPP}. This may mean
that you build libc/sys/* against the current system's include
files, rather than the ones to be used with that build.



Add ${CPPFLAGS} to every instance of ${CPP} in