Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libadm/Makefile.com
          +++ new/usr/src/lib/libadm/Makefile.com
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  
  39   39  # install this library in the root filesystem
  40   40  include ../../Makefile.rootfs
  41   41  
  42   42  LIBS=           $(DYNLIB) $(LINTLIB)
  43   43  SRCDIR=         ../common
  44   44  
  45   45  CPPFLAGS +=     -I ../inc
  46   46  
  47   47  CERRWARN +=     -_gcc=-Wno-parentheses
  48      -CERRWARN +=     -_gcc=-Wno-uninitialized
       48 +CERRWARN +=     $(CNOWARN_UNINIT)
  49   49  CERRWARN +=     -_gcc=-Wno-char-subscripts
  50   50  
  51   51  # not linted
  52   52  SMATCH=off
  53   53  
  54   54  $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
  55   55  LDLIBS +=       -lc
  56   56  
  57   57  .KEEP_STATE:
  58   58  
  59   59  all: $(LIBS)
  60   60  
  61   61  lint:   lintcheck
  62   62  
  63   63  include         ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX