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/sbd/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/sbd/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  
  44   44  SRCDIR =        ../common
  45   45  
  46   46  LIBS = $(DYNLIB)
  47   47  
  48   48  CFLAGS +=       $(CCVERBOSE)
  49   49  LDLIBS +=       -lc -lkstat -lnvpair
  50   50  
  51   51  CERRWARN +=     -_gcc=-Wno-parentheses
  52   52  CERRWARN +=     -_gcc=-Wno-char-subscripts
  53      -CERRWARN +=     -_gcc=-Wno-uninitialized
       53 +CERRWARN +=     $(CNOWARN_UNINIT)
  54   54  
  55   55  # not linted
  56   56  SMATCH=off
  57   57  
  58   58  CPPFLAGS +=     -I$(ROOT)/usr/platform/$(PLATFORM)/include -DSBD_DEBUG
  59   59  #
  60   60  #       Generate the error messages form sbd_ioctl.h
  61   61  #
  62   62  GENERRDIR=      $(SRC)/lib/cfgadm_plugins/sbd
  63   63  GENERR=         $(GENERRDIR)/sbdgenerr
↓ open down ↓ 43 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX