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/boot/bootadm/Makefile
          +++ new/usr/src/cmd/boot/bootadm/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  
  38   38  include ../Makefile.com
  39   39  
  40   40  POFILE= bootadm_cmd.po
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  LDLIBS_i386= -lfdisk
  45   45  LDLIBS += -lficl-sys -lmd -lcryptoutil -lnvpair -lgen -ladm -lefi
  46   46  LDLIBS += -lz -lbe -lzfs -lofmt $(LDLIBS_$(MACH))
       47 +ADJUNCT_LIBS = libz.so
  47   48  
  48   49  # Writing into string literals is incorrect.  We need to match gcc's
  49   50  # behavior, which causes us to take SIGSEGV on such a write.
  50   51  CFLAGS +=       $(XSTRCONST)
  51   52  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  52   53  CPPFLAGS +=     -I$(SRC)/uts/common -I$(SRC)/common -I$(SRC)/common/ficl
  53   54  
  54   55  CSTD=   $(CSTD_GNU99)
  55   56  
  56   57  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX