mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
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:
parent
1ff0f342b7
commit
19d108e89e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42286
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user