Subject: lib/3750: ${CPP} is called from src/lib/libc/sys/Makefile.inc without ${CPPFLAGS}
To: None <gnats-bugs@gnats.netbsd.org>
From: Curt Sampson <cjs@portal.ca>
List: netbsd-bugs
Date: 06/15/1997 17:12:20
>Number: 3750
>Category: lib
>Synopsis: ${CPP} is called from src/lib/libc/sys/Makefile.inc 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
>Last-Modified:
>Originator: Curt Sampson
>Organization:
Curt Sampson cjs@portal.ca Info at http://www.portal.ca/
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
>Environment:
System: NetBSD cynic.portal.ca 1.2E NetBSD 1.2E (CYNIC) #40: Mon Jun 9 14:24:47 PDT 1997 cjs@cynic.portal.ca:/usr1/netbsd/co/cynic/src/sys/arch/i386/compile/CYNIC i386
>Description:
src/lib/libc/sys/Makefile.inc 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.
>How-To-Repeat:
>Fix:
Add ${CPPFLAGS} to every instance of ${CPP} in
src/lib/libc/sys/Makefile.inc.
>Audit-Trail:
>Unformatted: