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/kstat/Makefile
          +++ new/usr/src/cmd/stat/kstat/Makefile
↓ open down ↓ 24 lines elided ↑ open up ↑
  25   25  
  26   26  PROG = kstat
  27   27  OBJS = kstat.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 += -lavl -lcmdutils -ldevinfo -lgen -lkstat
  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  
  39   39  CPPFLAGS_sparc += -I$(SRC)/uts/sfmmu
  40   40  CPPFLAGS_sparc += -I$(SRC)/uts/sun4u/sunfire
  41   41  CPPFLAGS += $(CPPFLAGS_$(MACH))
  42   42  
  43   43  FILEMODE= 0555
  44   44  
  45   45  lint := LINTFLAGS = -muxs -I$(STATCOMMONDIR)
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX