diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2026-03-23 18:50:41 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-07-10 18:16:49 +0000 |
| commit | 513d3fde7c4665c1c83ad227ac4ec95c89b84add (patch) | |
| tree | 7899b8a89a748655817feff5d4d0fd6f22e7b140 | |
| parent | f0b8c514a18d098d9e1cfd10fa4401f277cb2f1f (diff) | |
tools/build: Don't set RANLIB for non-FreeBSD builds
RANLIB is not used by our build, so there is no need to set it.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58156
| -rw-r--r-- | tools/build/mk/Makefile.boot | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/build/mk/Makefile.boot b/tools/build/mk/Makefile.boot index 43246f3ceebf..94e44cbabab4 100644 --- a/tools/build/mk/Makefile.boot +++ b/tools/build/mk/Makefile.boot @@ -9,7 +9,6 @@ LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib # $PATH before a nm that supports the host architecture. # To ensure that host binary compile as expected we use the tools from /usr/bin. AR:= /usr/bin/ar -RANLIB:= /usr/bin/ranlib NM:= /usr/bin/nm # Avoid stale dependecy warnings: @@ -57,10 +56,9 @@ LDADD+= -lfts .elif ${.MAKE.OS} == "Darwin" CFLAGS+= -D_DARWIN_C_SOURCE=1 CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/mac -# The macOS ar and ranlib don't understand all the flags supported by the -# FreeBSD and Linux ar/ranlib +# The macOS ar doesn't understand all the flags supported by the +# FreeBSD and Linux ar ARFLAGS:= -crs -RANLIBFLAGS:= # to get libarchive (needed for elftoolchain) # MacOS ships /usr/lib/libarchive.dylib but doesn't provide the headers |
