Date: Wed, 5 Dec 2018 10:58:02 +0000 (UTC) From: Alex Richardson <arichardson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r341515 - head/lib/libopenbsd Message-ID: <201812051058.wB5Aw2XW092416@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arichardson Date: Wed Dec 5 10:58:02 2018 New Revision: 341515 URL: https://svnweb.freebsd.org/changeset/base/341515 Log: 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 Modified: head/lib/libopenbsd/Makefile Modified: head/lib/libopenbsd/Makefile ============================================================================== --- head/lib/libopenbsd/Makefile Wed Dec 5 10:57:57 2018 (r341514) +++ head/lib/libopenbsd/Makefile Wed Dec 5 10:58:02 2018 (r341515) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812051058.wB5Aw2XW092416>