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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/snoop/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/snoop/Makefile
↓ open down ↓ 45 lines elided ↑ open up ↑
  46   46  HDRS=   snoop.h snoop_mip.h at.h snoop_ospf.h snoop_ospf6.h
  47   47  
  48   48  include ../../../Makefile.cmd
  49   49  
  50   50  CPPFLAGS += -I. -I$(SRC)/common/net/dhcp \
  51   51          -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  52   52  LDLIBS += -ldhcputil -ldlpi -lsocket -lnsl -ltsol
  53   53  LDFLAGS += $(MAPFILE.NGB:%=-M%)
  54   54  CERRWARN += -_gcc=-Wno-switch
  55   55  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  56      -CERRWARN += -_gcc=-Wno-uninitialized
       56 +CERRWARN += $(CNOWARN_UNINIT)
  57   57  CERRWARN += -_gcc=-Wno-clobbered
  58   58  CERRWARN += -_gcc=-Wno-unused-value
  59   59  CERRWARN += -_gcc=-Wno-parentheses
  60   60  CERRWARN += -_gcc=-Wno-unused-variable
  61   61  CERRWARN += -_gcc=-Wno-unused-label
  62   62  CERRWARN += -_gcc=-Wno-unused-function
  63   63  
  64   64  # we really should have smatch running on this code but...
  65   65  SMATCH=off
  66   66  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX