Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/make/bin/Makefile
          +++ new/usr/src/tools/make/bin/Makefile
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  include ../Makefile.com
  37   37  
  38   38  LDLIBS += ../lib/mksh/libmksh.a ../lib/vroot/libvroot.a
  39   39  LDLIBS += ../lib/bsd/libbsd.a -lc -lnsl -lumem
  40   40  
  41   41  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  42   42  
  43   43  ROOTLINKS = $(ROOTONBLDBINMACH)/dmake
  44   44  ROOTRULES = $(ROOTONBLDSHARE)/make.rules
  45   45  
       46 +NATIVE_LIBS += libnsl.so libumem.so
       47 +
  46   48  all:    $(PROG)
  47   49  
  48   50  install: all $(ROOTONBLDMACHPROG) $(ROOTLINKS) $(ROOTRULES)
  49   51  
  50   52  $(PROG):        $(OBJS)
  51   53          $(LINK.cc) $(OBJS) -o $@ $(LDLIBS)
  52   54          $(POST_PROCESS)
  53   55  
  54   56  %.o:    $(CMDDIR)/%.cc
  55   57          $(COMPILE.cc) -o $@ $<
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX