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/sysctrl/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com
↓ open down ↓ 47 lines elided ↑ open up ↑
  48   48  
  49   49  LIBS = $(DYNLIB)
  50   50  
  51   51  CFLAGS +=       $(CCVERBOSE)
  52   52  LDLIBS +=       -lc
  53   53  
  54   54  CPPFLAGS +=     -I$(ROOT)/usr/platform/$(PLATFORM)/include
  55   55  
  56   56  CERRWARN +=     -_gcc=-Wno-switch
  57   57  CERRWARN +=     -_gcc=-Wno-parentheses
  58      -CERRWARN +=     -_gcc=-Wno-uninitialized
       58 +CERRWARN +=     $(CNOWARN_UNINIT)
  59   59  
  60   60  # not linted
  61   61  SMATCH=off
  62   62  
  63   63  .KEEP_STATE:
  64   64  
  65   65  all: $(LIBS)
  66   66  
  67   67  lint:   lintcheck
  68   68  
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX