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/scsi/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/scsi/Makefile.com
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  
  35   35  SRCDIR =        ../common
  36   36  ROOTLIBDIR=     $(ROOT)/usr/lib/cfgadm
  37   37  ROOTLIBDIR64=   $(ROOTLIBDIR)/$(MACH64)
  38   38  
  39   39  LIBS=   $(DYNLIB)
  40   40  
  41   41  CFLAGS +=       $(CCVERBOSE)
  42   42  CERRWARN +=     -_gcc=-Wno-parentheses
  43   43  CERRWARN +=     -_gcc=-Wno-char-subscripts
  44      -CERRWARN +=     -_gcc=-Wno-uninitialized
       44 +CERRWARN +=     $(CNOWARN_UNINIT)
  45   45  CERRWARN +=     -_gcc=-Wno-address
  46   46  
  47   47  # not linted
  48   48  SMATCH=off
  49   49  
  50   50  LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  51   51  
  52   52  .KEEP_STATE:
  53   53  
  54   54  all:    $(LIBS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX