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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/cfgadm_plugins/usb/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/usb/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  LIBS=   $(DYNLIB)
  40   40  
  41   41  LINTFLAGS +=    -DDEBUG
  42   42  LINTFLAGS64 +=  -DDEBUG
  43   43  
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CFLAGS64 +=     $(CCVERBOSE)
  46   46  
  47   47  CERRWARN +=     -_gcc=-Wno-parentheses
  48   48  CERRWARN +=     -_gcc=-Wno-char-subscripts
  49      -CERRWARN +=     -_gcc=-Wno-uninitialized
       49 +CERRWARN +=     $(CNOWARN_UNINIT)
  50   50  CERRWARN +=     -_gcc=-Wno-unused-value
  51   51  
  52   52  # not linted
  53   53  SMATCH=off
  54   54  
  55   55  LDLIBS +=       -lc -ldevice -ldevinfo -lrcm -lnvpair
  56   56  
  57   57  .KEEP_STATE:
  58   58  
  59   59  all:    $(LIBS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX