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/lib/nwamd/Makefile
          +++ new/usr/src/cmd/cmd-inet/lib/nwamd/Makefile
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  include         ../../../Makefile.cmd
  48   48  
  49   49  $(ROOTCFGFILES) := FILEMODE= 644
  50   50  
  51   51  ROOTCMDDIR=     $(ROOTFS_LIBDIR)/inet
  52   52  
  53   53  LDLIBS +=       -ldhcpagent -ldhcputil -ldladm -ldlpi -lgen \
  54   54                  -linetutil -lipadm -lkstat -lnsl -lnvpair -lnwam \
  55   55                  -lsecdb -lscf -lsocket -lsysevent -lumem -luutil
  56   56  
  57      -CERRWARN +=     -_gcc=-Wno-uninitialized
       57 +CERRWARN +=     $(CNOWARN_UNINIT)
  58   58  CERRWARN +=     -_gcc=-Wno-parentheses
  59   59  CERRWARN +=     -_gcc=-Wno-switch
  60   60  CERRWARN +=     -_gcc=-Wno-unused-label
  61   61  
  62   62  # not linted
  63   63  SMATCH=off
  64   64  
  65   65  #
  66   66  # Instrument with CTF data to ease debugging.
  67   67  #
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX