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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/consadm/Makefile.com
          +++ new/usr/src/cmd/consadm/Makefile.com
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  PROG=           consadm
  28   28  
  29   29  COMMONOBJS=     $(PROG).o utils.o
  30   30  SRCS=           ../$(PROG).c ../utils.c
  31   31  OBJS=           $(COMMONOBJS)
  32   32  
  33   33  include ../../Makefile.cmd
  34   34  
  35   35  CFLAGS  +=      $(CCVERBOSE)
  36      -CERRWARN +=     -_gcc=-Wno-uninitialized
       36 +CERRWARN +=     $(CNOWARN_UNINIT)
  37   37  CPPFLAGS +=
  38   38  
  39   39  FILEMODE = 0555
  40   40  
  41   41  .KEEP_STATE:
  42   42  
  43   43  all:    $(PROG)
  44   44  
  45   45  $(PROG): $(OBJS)
  46   46          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX