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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/Makefile.tools
          +++ new/usr/src/tools/Makefile.tools
↓ open down ↓ 47 lines elided ↑ open up ↑
  48   48  
  49   49  CC =                    $(NATIVECC)
  50   50  CCC =                   $(NATIVECCC)
  51   51  CFLAGS =                $(NATIVE_CFLAGS)
  52   52  CPPFLAGS=               -D_TS_ERRNO
  53   53  ELFSIGN_O=              $(TRUE)
  54   54  LDLIBS=
  55   55  LDFLAGS=                $(MAPFILE.NES:%=-M%) $(MAPFILE.NED:%=-M%) \
  56   56                              $(MAPFILE.PGA:%=-M%)
  57   57  
       58 +# Unset CW_LINKER so we run the default.  We don't set LD here to avoid taking
       59 +# the journey through LD_ALTEXEC unnecessarily.
       60 +CW_LINKER=
       61 +
  58   62  ROOTONBLDPROG=          $(PROG:%=$(ROOTONBLDBIN)/%)
  59   63  ROOTONBLDMACHPROG=      $(PROG:%=$(ROOTONBLDBINMACH)/%)
  60   64  ROOTONBLDSHFILES=       $(SHFILES:%=$(ROOTONBLDBIN)/%)
  61   65  ROOTONBLDMAKEFILES=     $(MAKEFILES:%=$(ROOTONBLDBIN)/%)
  62   66  ROOTONBLDMACHSHFILES=   $(SHFILES:%=$(ROOTONBLDBINMACH)/%)
  63   67  ROOTONBLDMACHBINARIES=  $(BINARIES:%=$(ROOTONBLDBINMACH)/%)
  64   68  ROOTONBLDETCFILES=      $(ETCFILES:%=$(ROOTONBLDETC)/%)
  65   69  ROOTONBLDENVFILES=      $(ENVFILES:%=$(ROOTONBLDENV)/%)
  66   70  ROOTONBLDPERLFILES=     $(PERLFILES:%=$(ROOTONBLDBIN)/%)
  67   71  ROOTONBLDPERLMODULES=   $(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX