Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools

@@ -53,10 +53,14 @@
 ELFSIGN_O=              $(TRUE)
 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)/%)
 ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
 ROOTONBLDMACHSHFILES=   $(SHFILES:%=$(ROOTONBLDBINMACH)/%)