lobase

Linux port of OpenBSDs userland.
Log | Files | Refs | README

commit 55400084a14677962b498c0ceda971d0c5736d12
parent 4f82162df84f734db1215baf3a0a52e7d91f6a1c
Author: Duncaen <mail@duncano.de>
Date:   Thu, 25 May 2017 20:03:19 +0200

lib/libopenbsd: fix building optional objects

Diffstat:
lib/libopenbsd/stdio/Makefile.inc | 2++
lib/libopenbsd/stdlib/Makefile.inc | 2++
lib/libopenbsd/string/Makefile.inc | 2++
lib/libopenbsd/sys/Makefile.inc | 2++
4 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/lib/libopenbsd/stdio/Makefile.inc b/lib/libopenbsd/stdio/Makefile.inc @@ -5,6 +5,8 @@ VPATH+= ${LIBCSRCDIR}/stdio SRCS+= fgetwln.c +include ${.TOPDIR}/config.mk + ifneq ($(HAVE_FGETLN),1) SRCS+= fgetln.c endif diff --git a/lib/libopenbsd/stdlib/Makefile.inc b/lib/libopenbsd/stdlib/Makefile.inc @@ -6,6 +6,8 @@ VPATH+= ${LIBCSRCDIR}/stdlib SRCS+= getopt_long.c MAN+= getopt.3 getopt_long.3 +include ${.TOPDIR}/config.mk + ifneq ($(HAVE_FREEZERO),1) SRCS+= freezero.c endif diff --git a/lib/libopenbsd/string/Makefile.inc b/lib/libopenbsd/string/Makefile.inc @@ -6,6 +6,8 @@ VPATH+= ${LIBCSRCDIR}/string SRCS+= timingsafe_bcmp.c timingsafe_memcmp.c MAN+= timingsafe_bcmp.3 +include ${.TOPDIR}/config.mk + ifneq ($(HAVE_EXPLICIT_BZERO),1) SRCS+= explicit_bzero.c endif diff --git a/lib/libopenbsd/sys/Makefile.inc b/lib/libopenbsd/sys/Makefile.inc @@ -5,6 +5,8 @@ # sys sources VPATH+= ${LIBCSRCDIR}/sys +include ${.TOPDIR}/config.mk + ifneq ($(HAVE_GETFSSTAT),1) SRCS+= getfsstat.c SRCS+= statfs.c