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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/setfacl/Makefile
          +++ new/usr/src/cmd/setfacl/Makefile
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23  # Copyright (c) 1993 by Sun Microsystems, Inc.
  24   24  #
  25   25  # Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  PROG= setfacl
  28   28  
  29   29  include ../Makefile.cmd
  30   30  
  31   31  CERRWARN += -_gcc=-Wno-unused-variable
  32   32  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  33      -CERRWARN += -_gcc=-Wno-uninitialized
       33 +CERRWARN += $(CNOWARN_UNINIT)
  34   34  
  35   35  # not linted
  36   36  SMATCH=off
  37   37  
  38   38  LDLIBS += -lsec
  39   39  
  40   40  .KEEP_STATE:
  41   41  
  42   42  all: $(PROG)
  43   43  
  44   44  install: all $(ROOTPROG)
  45   45  
  46   46  clean:
  47   47  
  48   48  lint:   lint_PROG
  49   49  
  50   50  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX