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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/netstat/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/netstat/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  
  40   40  STATCOMMONDIR = $(SRC)/cmd/stat/common
  41   41  
  42   42  STAT_COMMON_OBJS = timestamp.o
  43   43  STAT_COMMON_SRCS = $(STAT_COMMON_OBJS:%.o=$(STATCOMMONDIR)/%.c)
  44   44  
  45   45  OBJS=           $(LOCALOBJS) $(COMMONOBJS) $(STAT_COMMON_OBJS)
  46   46  SRCS=           $(LOCALSRCS) $(COMMONSRCS) $(STAT_COMMON_SRCS)
  47   47  
  48   48  CPPFLAGS += -DNDEBUG -I$(CMDINETCOMMONDIR) -I$(STATCOMMONDIR)
  49      -CERRWARN += -_gcc=-Wno-uninitialized
       49 +CERRWARN += $(CNOWARN_UNINIT)
  50   50  CERRWARN += -_gcc=-Wno-parentheses
  51   51  LDLIBS += -ldhcpagent -lsocket -lnsl -lkstat -ltsnet -ltsol
  52   52  
  53   53  # not linted
  54   54  SMATCH=off
  55   55  
  56   56  .KEEP_STATE:
  57   57  
  58   58  all: $(PROG) $(NPROG)
  59   59  
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX