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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cpc/cpustat/Makefile
          +++ new/usr/src/cmd/cpc/cpustat/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  
  31   31  include ../../Makefile.cmd
  32   32  
  33   33  STATCOMMONDIR = $(SRC)/cmd/stat/common
  34   34  
  35   35  STAT_COMMON_OBJS = timestamp.o
  36   36  STAT_COMMON_SRCS = $(STAT_COMMON_OBJS:%.o=$(STATCOMMONDIR)/%.c)
  37   37  SRCS += $(STAT_COMMON_SRCS)
  38   38  
  39   39  CFLAGS          += $(CCVERBOSE) $(CTF_FLAGS)
  40      -CERRWARN        += -_gcc=-Wno-uninitialized
       40 +CERRWARN        += $(CNOWARN_UNINIT)
  41   41  CPPFLAGS        += -D_REENTRANT -I$(SRC)/lib/libcpc/common -I$(STATCOMMONDIR)
  42   42  LDLIBS +=       -lcpc -lkstat
  43   43  
  44   44  # not linted
  45   45  SMATCH=off
  46   46  
  47   47  .KEEP_STATE:
  48   48  
  49   49  all:    $(PROG)
  50   50  
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX