diff options
| author | Jessica Clarke <jrtc27@FreeBSD.org> | 2021-12-06 18:12:46 +0000 |
|---|---|---|
| committer | Jessica Clarke <jrtc27@FreeBSD.org> | 2022-01-24 23:59:14 +0000 |
| commit | 6318e220e3b8e34943fa74406a2de72273340cdb (patch) | |
| tree | d95685a74fb312228972d9e6c03ec7b1eace2535 /lib/libz | |
| parent | e06a24658ad2916754219e9a46ef91b44041b5d1 (diff) | |
Diffstat (limited to 'lib/libz')
| -rw-r--r-- | lib/libz/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 4ece3e3e059f..a954fee95118 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -38,9 +38,14 @@ SRCS+= inflate.c SRCS+= inftrees.c SRCS+= trees.c SRCS+= uncompr.c -SRCS+= zopen.c SRCS+= zutil.c +# Wrapper relies on FreeBSD-specific fpos_t representation and non-portable +# funopen. Not needed for bootstrapping, so just disable it. +.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING) +SRCS+= zopen.c +.endif + .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" CFLAGS+= -DUNALIGNED_OK .endif |
