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/shp/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/shp/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  
  44   44  LIBS = $(DYNLIB)
  45   45  
  46   46  CPPFLAGS +=     -I$(SRC)/lib/libhotplug/common
  47   47  CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS
  48   48  CFLAGS +=       $(CCVERBOSE)
  49   49  LDLIBS +=       -lc -ldevinfo -lhotplug
  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  CERRWARN +=     -_gcc=-Wno-unused-variable
  55   55  
  56   56  # not linted
  57   57  SMATCH=off
  58   58  
  59   59  .KEEP_STATE:
  60   60  
  61   61  all: $(LIBS)
  62   62  
  63   63  lint:   lintcheck
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX