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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/ufs/volcopy/Makefile
          +++ new/usr/src/cmd/fs.d/ufs/volcopy/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  # Copyright (c) 2018, Joyent, Inc.
  27   27  
  28   28  FSTYPE=         ufs
  29   29  LIBPROG=        volcopy
  30   30  ATTMK=          $(LIBPROG)
  31   31  
  32   32  include         ../../Makefile.fstype
  33   33  
  34   34  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  35   35  CERRWARN +=     -_gcc=-Wno-unused-variable
  36      -CERRWARN +=     -_gcc=-Wno-uninitialized
       36 +CERRWARN +=     $(CNOWARN_UNINIT)
  37   37  
  38   38  # not linted
  39   39  SMATCH=off
  40   40  
  41   41  LDLIBS +=       -lmapmalloc
  42   42  
  43   43  # for messaging catalog
  44   44  #
  45   45  POFILE=         volcopy.po
  46   46  XGETFLAGS +=    -a  -x volcopy.xcl
  47   47  
  48   48  catalog:        $(POFILE)
  49   49  
  50   50  lint:           lint_PROG
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX