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/SUNW,SPARC-Enterprise/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  ROOTLIBDIR64=   $(ROOTLIBDIR)/$(MACH64)
  44   44  
  45   45  SRCDIR =        ../../common
  46   46  
  47   47  SRCS=   $(GEN_OBJECTS:%.o=../../common/%.c) $(OPL_OBJECTS:%.o=../common/%.c)
  48   48  
  49   49  LIBS=   $(DYNLIB)
  50   50  
  51   51  CFLAGS +=       $(CCVERBOSE)
  52   52  CERRWARN +=     -_gcc=-Wno-parentheses
  53      -CERRWARN +=     -_gcc=-Wno-uninitialized
       53 +CERRWARN +=     $(CNOWARN_UNINIT)
  54   54  CERRWARN +=     -_gcc=-Wno-address
  55   55  CERRWARN +=     -_gcc=-Wno-char-subscripts
  56   56  
  57   57  LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
  58   58  
  59   59  .KEEP_STATE:
  60   60  
  61   61  all:    $(LIBS)
  62   62  
  63   63  lint:   lintcheck
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX