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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mkmsgs/Makefile
          +++ new/usr/src/cmd/mkmsgs/Makefile
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  # Use is subject to license terms.
  23   23  #
  24   24  # Copyright (c) 2018, Joyent, Inc.
  25   25  
  26   26  PROG= mkmsgs
  27   27  
  28   28  include ../Makefile.cmd
  29   29  
  30   30  LDLIBS += -lgen
  31   31  CERRWARN += -_gcc=-Wno-parentheses
  32      -CERRWARN += -_gcc=-Wno-uninitialized
       32 +CERRWARN += $(CNOWARN_UNINIT)
  33   33  
  34   34  # not linted
  35   35  SMATCH=off
  36   36  
  37   37  .KEEP_STATE:
  38   38  
  39   39  all: $(PROG)
  40   40  
  41   41  install: all $(ROOTPROG)
  42   42  
  43   43  clean:
  44   44  
  45   45  lint:   lint_PROG
  46   46  
  47   47  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX