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/ipmgmtd/Makefile
          +++ new/usr/src/cmd/cmd-inet/lib/ipmgmtd/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  CFGFILES=       ipadm.conf
  33   33  
  34   34  # Needed for ROOTETC definition
  35   35  include         ../../../Makefile.cmd
  36   36  
  37   37  ROOTCFGDIR=             $(ROOTETC)/ipadm
  38   38  ROOTCFGFILES=           $(CFGFILES:%=$(ROOTCFGDIR)/%)
  39   39  ROOTMANIFESTDIR=        $(ROOTSVCNETWORK)
  40   40  
  41   41  CERRWARN += -_gcc=-Wno-switch
  42      -CERRWARN += -_gcc=-Wno-uninitialized
       42 +CERRWARN += $(CNOWARN_UNINIT)
  43   43  
  44   44  $(ROOTCFGFILES) := OWNER= ipadm
  45   45  $(ROOTCFGFILES) := GROUP= sys
  46   46  $(ROOTCFGFILES) := FILEMODE= 644
  47   47  
  48   48  ROOTCMDDIR=     $(ROOTFS_LIBDIR)/inet
  49   49  
  50   50  LDLIBS += -lipadm -lnvpair -lsecdb -lnsl -lumem -lscf
  51   51  
  52   52  #
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX