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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rctladm/Makefile
          +++ new/usr/src/cmd/rctladm/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  OBJS = rctladm.o utils.o
  29   29  SRCS = $(OBJS:.o=.c)
  30   30  POFILES = $(OBJS:.o=.po)
  31   31  
  32   32  lint := LINTFLAGS = -mx
  33   33  
  34   34  include ../Makefile.cmd
  35   35  
  36   36  CFLAGS += $(CCVERBOSE)
  37   37  CERRWARN += -_gcc=-Wno-parentheses
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  POFILE = rctladm_msg.po
  40   40  XGETFLAGS = -a
  41   41  FILEMODE = 0555
  42   42  
  43   43  .KEEP_STATE:
  44   44  
  45   45  all: $(PROG)
  46   46  
  47   47  $(PROG): $(OBJS)
  48   48          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX