summaryrefslogtreecommitdiff
path: root/usr/src/tools/Makefile.tools
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/Makefile.tools')
-rw-r--r--usr/src/tools/Makefile.tools3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/tools/Makefile.tools b/usr/src/tools/Makefile.tools
index 9fd747751d..315a10b6c6 100644
--- a/usr/src/tools/Makefile.tools
+++ b/usr/src/tools/Makefile.tools
@@ -55,9 +55,10 @@ ELFSIGN_O= $(TRUE)
LDLIBS=
LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%) $(MAPFILE.NED:%=-Wl,-M%) \
$(MAPFILE.PGA:%=-Wl,-M%) \
- $(ZASSERTDEFLIB)=libc.so \
$(BDIRECT)
+NATIVE_LIBS += libc.so
+
# To work around a bootstrapping problem, we can't rely on cw(1) knowing how
# to translate -shared as we may be using an older one to build the current
# tools.