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/iostat/Makefile
          +++ new/usr/src/cmd/stat/iostat/Makefile
↓ open down ↓ 24 lines elided ↑ open up ↑
  25   25  
  26   26  PROG = iostat
  27   27  OBJS = iostat.o
  28   28  SRCS =$(OBJS:%.o=%.c) $(COMMON_SRCS)
  29   29  
  30   30  include $(SRC)/cmd/Makefile.cmd
  31   31  include $(SRC)/cmd/stat/Makefile.stat
  32   32  
  33   33  LDLIBS += -lkstat -ldevinfo -lavl
  34   34  CFLAGS += $(CCVERBOSE) -I${STATCOMMONDIR}
  35      -CERRWARN += -_gcc=-Wno-uninitialized
       35 +CERRWARN += $(CNOWARN_UNINIT)
  36   36  CERRWARN += -_gcc=-Wno-switch
  37   37  CERRWARN += -_gcc=-Wno-parentheses
  38   38  FILEMODE= 0555
  39   39  
  40   40  lint := LINTFLAGS = -muxs -I$(STATCOMMONDIR)
  41   41  
  42   42  .KEEP_STATE:
  43   43  
  44   44  all: $(PROG)
  45   45  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX