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.sbin/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/Makefile
↓ open down ↓ 94 lines elided ↑ open up ↑
  95   95  include ../Makefile.cmd-inet
  96   96  
  97   97  ROOTSBINPROG = $(ROOTFS_PROG:%=$(ROOTSBIN)/%)
  98   98  ROOTUSRSBINLINKS = $(SBINLINKS:%=$(ROOTUSRSBIN)/%)
  99   99  
 100  100  COMMONOBJS=     addr_match.o kcmd.o store_forw_creds.o
 101  101  COMMONSRCS=     $(COMMONOBJS:%.o=$(CMDINETCOMMONDIR)/%.c)
 102  102  SRCS+=          $(COMMONSRCS)
 103  103  
 104  104  CERRWARN += -_gcc=-Wno-implicit-function-declaration
 105      -CERRWARN += -_gcc=-Wno-uninitialized
      105 +CERRWARN += $(CNOWARN_UNINIT)
 106  106  CERRWARN += -_gcc=-Wno-unused-variable
 107  107  CERRWARN += -_gcc=-Wno-unused-function
 108  108  CERRWARN += -_gcc=-Wno-parentheses
 109  109  CERRWARN += -_gcc=-Wno-char-subscripts
 110  110  CERRWARN += -_gcc=-Wno-extra
 111  111  CERRWARN += -_gcc=-Wno-address
 112  112  
 113  113  # "missing type for func"
 114  114  SMATCH=off
 115  115  
↓ open down ↓ 165 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX