aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-12-06 18:12:46 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2022-01-24 23:59:14 +0000
commit6318e220e3b8e34943fa74406a2de72273340cdb (patch)
treed95685a74fb312228972d9e6c03ec7b1eace2535 /tools
parente06a24658ad2916754219e9a46ef91b44041b5d1 (diff)
downloadsrc-6318e220e3b8e34943fa74406a2de72273340cdb.tar.gz
src-6318e220e3b8e34943fa74406a2de72273340cdb.zip
Bootstrap libz when cross-building from non-FreeBSD
This is needed now libdwarf depends on libz. Fixes: dbf05458e3bd ("libdwarf: Support consumption of compressed ELF sections") MFC after: 1 week (cherry picked from commit 8d5d329553b345c0887405db741750b0f728d902)
Diffstat (limited to 'tools')
-rw-r--r--tools/build/mk/Makefile.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/mk/Makefile.boot b/tools/build/mk/Makefile.boot
index 8ac360e663c9..4e6f3508b30d 100644
--- a/tools/build/mk/Makefile.boot
+++ b/tools/build/mk/Makefile.boot
@@ -16,7 +16,6 @@ NM:= /usr/bin/nm
# Avoid stale dependecy warnings:
LIBC:=
-LIBZ:=
LIBM:=
LIBUTIL:=
LIBCPLUSPLUS:=
@@ -30,6 +29,7 @@ LIBL:=${WORLDTMP}/legacy/usr/lib/libl.a
LIBROKEN:=${WORLDTMP}/legacy/usr/lib/libroken.a
LIBDWARF:=${WORLDTMP}/legacy/usr/lib/libdwarf.a
LIBELF:=${WORLDTMP}/legacy/usr/lib/libelf.a
+LIBZ:=${WORLDTMP}/legacy/usr/lib/libz.a
# Add various -Werror flags to catch missing function declarations
CFLAGS+= -Werror=implicit-function-declaration -Werror=implicit-int \