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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/lockstat/Makefile.com
          +++ new/usr/src/cmd/lockstat/Makefile.com
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  PROG= lockstat
  28   28  OBJS= lockstat.o sym.o
  29   29  SRCS= $(OBJS:%.o=../%.c)
  30   30  
  31   31  include ../../Makefile.cmd
  32   32  
  33   33  LDLIBS += -lelf -lkstat -ldtrace
  34   34  CFLAGS += $(CCVERBOSE)
  35   35  CFLAGS64 += $(CCVERBOSE)
  36      -CERRWARN += -_gcc=-Wno-uninitialized
       36 +CERRWARN += $(CNOWARN_UNINIT)
  37   37  
  38   38  SMOFF += index_overflow
  39   39  
  40   40  LINTFLAGS += -xerroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  41   41  LINTFLAGS64 += -xerroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  42   42  
  43   43  FILEMODE= 0555
  44   44  
  45   45  CLEANFILES += $(OBJS)
  46   46  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX