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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnwam/Makefile.com
          +++ new/usr/src/lib/libnwam/Makefile.com
↓ open down ↓ 47 lines elided ↑ open up ↑
  48   48  LDLIBS +=       -lbsm -lc -ldladm -lnvpair -lscf -lsecdb -lsocket \
  49   49                  -lipadm
  50   50  
  51   51  SRCDIR =        ../common
  52   52  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  53   53  
  54   54  CFLAGS +=       $(CCVERBOSE)
  55   55  CPPFLAGS +=     -I$(SRCDIR) -D_REENTRANT
  56   56  
  57   57  CERRWARN +=     -_gcc=-Wno-switch
  58      -CERRWARN +=     -_gcc=-Wno-uninitialized
       58 +CERRWARN +=     $(CNOWARN_UNINIT)
  59   59  
  60   60  # not linted
  61   61  SMATCH=off
  62   62  
  63   63  .KEEP_STATE:
  64   64  
  65   65  all:    $(LIBS)
  66   66  
  67   67  lint:   lintcheck
  68   68  
  69   69  include  $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX