Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtnfctl/Makefile.com
          +++ new/usr/src/lib/libtnfctl/Makefile.com
↓ open down ↓ 67 lines elided ↑ open up ↑
  68   68  CHECKHDRS=      $(HDRS:%.h=%.check)
  69   69  $(ROOTHDRS) :=  FILEMODE = 0644
  70   70  CHECKHDRS =     $(HDRS:%.h=%.check)
  71   71  
  72   72  LDLIBS +=       -lc -lelf
  73   73  
  74   74  CPPFLAGS +=     -I$(SRC)/lib/libtnfprobe -D_REENTRANT -I$(SRC)/cmd/sgs/include
  75   75  
  76   76  LINTFLAGS +=    -y
  77   77  
  78      -CERRWARN +=     -_gcc=-Wno-uninitialized
       78 +CERRWARN +=     $(CNOWARN_UNINIT)
  79   79  CERRWARN +=     -_gcc=-Wno-empty-body
  80   80  CERRWARN +=     -_gcc=-Wno-parentheses
  81   81  
  82   82  # not linted
  83   83  SMATCH=off
  84   84  
  85   85  ASFLAGS +=      -P
  86   86  
  87   87  $(ROOTHDRS) :=  FILEMODE = 644
  88   88  
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX