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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dlmgmtd/Makefile
          +++ new/usr/src/cmd/dlmgmtd/Makefile
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  
  35   35  ROOTMANIFESTDIR=        $(ROOTSVCNETWORK)
  36   36  ROOTCFGDIR=             $(ROOTETC)/dladm
  37   37  ROOTCFGFILES=           $(CFGFILES:%=$(ROOTCFGDIR)/%)
  38   38  
  39   39  $(ROOTCFGDIR)/datalink.conf     := FILEMODE= 644
  40   40  
  41   41  LDLIBS += -ldladm -ldlpi -lavl -lnvpair -lsysevent -lcontract
  42   42  
  43   43  CERRWARN += -_gcc=-Wno-unused-label
  44      -CERRWARN += -_gcc=-Wno-uninitialized
       44 +CERRWARN += $(CNOWARN_UNINIT)
  45   45  
  46   46  #
  47   47  # Instrument dlmgmtd with CTF data to ease debugging.
  48   48  #
  49   49  CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  50   50  CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  51   51  $(OBJS) := CFLAGS += $(CTF_FLAGS)
  52   52  
  53   53  
  54   54  .KEEP_STATE:
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX