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/sata/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/sata/Makefile.com
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  LIBS=   $(DYNLIB)
  39   39  
  40   40  LINTFLAGS +=    -DDEBUG
  41   41  LINTFLAGS64 +=  -DDEBUG
  42   42  
  43   43  CFLAGS +=       $(CCVERBOSE)
  44   44  CFLAGS64 +=     $(CCVERBOSE)
  45   45  
  46   46  CERRWARN +=     -_gcc=-Wno-parentheses
  47   47  CERRWARN +=     -_gcc=-Wno-char-subscripts
  48      -CERRWARN +=     -_gcc=-Wno-uninitialized
       48 +CERRWARN +=     $(CNOWARN_UNINIT)
  49   49  
  50   50  LDLIBS +=       -lc -ldevice -ldevinfo -lrcm -lnvpair
  51   51  
  52   52  .KEEP_STATE:
  53   53  
  54   54  all:    $(LIBS)
  55   55  
  56   56  lint:   lintcheck
  57   57  
  58   58  # Install rules
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX