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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/tools/setdynflag/Makefile.com
          +++ new/usr/src/cmd/mdb/tools/setdynflag/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  
  40   40  #
  41   41  # We're going to run this as part of the build, so we want it to use the
  42   42  # running kernel's includes and libraries.
  43   43  #
  44   44  CPPFLAGS = -I../../common
  45   45  CFLAGS += $(CCVERBOSE)
  46   46  CERRWARN += -_gcc=-Wno-uninitialized
  47   47  LDFLAGS =
  48   48  LDLIBS  = -lelf
       49 +LDFLAGS += -Bdirect
       50 +NATIVE_LIBS = libelf.so libc.so
  49   51  
  50   52  LINTFILES = $(SRCS:%.c=%.ln)
  51   53  
  52   54  install all: $(PROG)
  53   55  
  54   56  clobber clean:
  55   57          $(RM) $(OBJS) $(LINTFILES) $(PROG)
  56   58  
  57   59  lint: $(LINTFILES)
  58   60          $(LINT) $(LINTFLAGS) $(LINTFILES) $(LDLIBS)
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX