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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/latencytop/Makefile.com
          +++ new/usr/src/cmd/latencytop/Makefile.com
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  PROG = latencytop
  28   28  OBJS = latencytop.o display.o dwrapper.o klog.o stat.o table.o util.o
  29   29  SRCS = $(OBJS:%.o=../common/%.c)
  30   30  
  31   31  include ../../Makefile.cmd
  32   32  
  33   33  CFLAGS += $(CCVERBOSE)
  34   34  CFLAGS64 += $(CCVERBOSE)
  35   35  
  36      -CERRWARN += -_gcc=-Wno-uninitialized
       36 +CERRWARN += $(CNOWARN_UNINIT)
  37   37  
  38   38  SMOFF += all_func_returns
  39   39  
  40   40  CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  41   41          -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  42   42  CSTD = $(CSTD_GNU99)
  43   43  LDLIBS += -lcurses -ldtrace
  44   44  all install     := LDLIBS += -lglib-2.0
  45   45  
  46   46  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
↓ open down ↓ 43 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX