mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Allow bootstrapping libopenbsd on Linux
The getdtablecount.c file won't compile on Linux but it seems like none of the bootstrap tools actually need it. Reviewed By: emaste, brooks Differential Revision: https://reviews.freebsd.org/D14244
This commit is contained in:
parent
c10d927c40
commit
abc73e04c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341515
|
@ -2,10 +2,15 @@
|
|||
|
||||
PACKAGE=lib${LIB}
|
||||
LIB= openbsd
|
||||
SRCS= getdtablecount.c \
|
||||
imsg-buffer.c \
|
||||
SRCS= imsg-buffer.c \
|
||||
imsg.c \
|
||||
ohash.c
|
||||
.if !defined(BOOTSTRAPPING)
|
||||
# Skip getdtablecount.c when bootstrapping since it doesn't compile for Linux
|
||||
# and is not used by any of the bootstrap tools
|
||||
SRCS+= getdtablecount.c
|
||||
.endif
|
||||
|
||||
INTERNALLIB=
|
||||
|
||||
CFLAGS+= -I${.CURDIR}
|
||||
|
|
Loading…
Reference in a new issue