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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/stat/vmstat/Makefile
          +++ new/usr/src/cmd/stat/vmstat/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  PROG = vmstat
  28   28  OBJS = vmstat.o
  29   29  SRCS =$(OBJS:%.o=%.c) $(COMMON_SRCS)
  30   30  
  31   31  include $(SRC)/cmd/Makefile.cmd
  32   32  include $(SRC)/cmd/stat/Makefile.stat
  33   33  
  34   34  LDLIBS += -ldevinfo -lkstat -lavl
  35   35  CFLAGS += $(CCVERBOSE) -I${STATCOMMONDIR}
  36   36  CERRWARN += -_gcc=-Wno-switch
  37      -CERRWARN += -_gcc=-Wno-uninitialized
       37 +CERRWARN += $(CNOWARN_UNINIT)
  38   38  CERRWARN += -_gcc=-Wno-parentheses
  39   39  
  40   40  SMOFF += signed
  41   41  
  42   42  FILEMODE= 0555
  43   43  
  44   44  lint := LINTFLAGS = -muxs -I$(STATCOMMONDIR)
  45   45  
  46   46  .KEEP_STATE:
  47   47  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX