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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dladm/Makefile
          +++ new/usr/src/cmd/dladm/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  include         $(SRC)/cmd/Makefile.ctf
  36   36  
  37   37  XGETFLAGS +=    -a -x $(PROG).xcl
  38   38  
  39   39  LDLIBS +=       -L$(ROOT)/lib -lsocket
  40   40  LDLIBS +=       -ldladm -ldlpi -lkstat -lsecdb -lbsm -lofmt -linetutil -ldevinfo
  41   41  LDLIBS +=       $(ZLAZYLOAD) -lrstp $(ZNOLAZYLOAD)
  42   42  
  43   43  CERRWARN +=     -_gcc=-Wno-switch
  44   44  CERRWARN +=     -_gcc=-Wno-unused-label
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  
  47   47  SMOFF += snprintf_overflow
  48   48  
  49   49  # For headers from librstp.
  50   50  LINTFLAGS +=    -erroff=E_TRAILING_COMMA_IN_ENUM
  51   51  lint :=         ZLAZYLOAD=
  52   52  lint :=         ZNOLAZYLOAD=
  53   53  
  54   54  $(ROOTCFGDIR)/secobj.conf := FILEMODE= 660
  55   55  
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX