Backed out previous commit. The bug was in rev.1.49 of src/Makefile.inc1,

so it can't be completely fixed here.  Putting -I paths to the current
headers in CFLAGS is more likely to break things than fix them, since
there is no reason why current headers should work with old libraries.
Other Makefiles that do this may only work because they are not used early
in the bootstrap.  However, the usual problem with errno being defined in
terms of a nonexistent library doesn't seem to occur here, since we don't
reference errno.
This commit is contained in:
Bruce Evans 1999-01-04 12:36:23 +00:00
parent 1ff0f342b7
commit 19d108e89e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42286

View File

@ -8,6 +8,6 @@ MAN1= rpcgen.1
# This is a kludge to work around the fact that this program
# uses 'inline' as a variable name.
#
CFLAGS+=-Dinline=rpcgen_inline -I${.CURDIR}/../../include -I${.CURDIR}/../../sys/i386/include -I${.CURDIR}/../../include/rpc -I${.CURDIR}/../../sys/sys
CFLAGS+=-Dinline=rpcgen_inline
.include <bsd.prog.mk>