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.tools4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/tools/Makefile.tools b/usr/src/tools/Makefile.tools
index cd38795b01..867c55b2f4 100644
--- a/usr/src/tools/Makefile.tools
+++ b/usr/src/tools/Makefile.tools
@@ -55,6 +55,10 @@ LDLIBS=
LDFLAGS= $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
$(MAPFILE.PGA:%=-M%)
+# Unset CW_LINKER so we run the default. We don't set LD here to avoid taking
+# the journey through LD_ALTEXEC unnecessarily.
+CW_LINKER=
+
ROOTONBLDPROG= $(PROG:%=$(ROOTONBLDBIN)/%)
ROOTONBLDMACHPROG= $(PROG:%=$(ROOTONBLDBINMACH)/%)
ROOTONBLDSHFILES= $(SHFILES:%=$(ROOTONBLDBIN)/%)