summaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/libspl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cddl/lib/libspl/Makefile b/cddl/lib/libspl/Makefile
index 64317c41b730..8088ef497d46 100644
--- a/cddl/lib/libspl/Makefile
+++ b/cddl/lib/libspl/Makefile
@@ -14,13 +14,14 @@ SRCS = \
list.c \
mkdirp.c \
page.c \
- strlcat.c \
- strlcpy.c \
timestamp.c \
zone.c \
include/sys/list.h \
include/sys/list_impl.h
+# These functions are not required when bootstrapping and the atomic code
+# will not compile when building on macOS.
+.if !defined(BOOTSTRAPPING)
SRCS += \
getexecname.c \
gethostid.c \
@@ -38,6 +39,7 @@ SRCS += atomic.S
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libspl/asm-generic
SRCS += atomic.c
.endif
+.endif
WARNS?= 2