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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ipf/Makefile.ipf
          +++ new/usr/src/cmd/ipf/Makefile.ipf
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  LIBIPF=         ../../lib/$(MACH)/libipf.a
  29   29  LIBIPF64=               ../../lib/$(MACH64)/libipf.a
  30   30  
  31   31  COMMONIPF=      $(SRC)/uts/common/inet/ipf
  32   32  KERNELIPF=      $(SRC)/uts/common/inet/pfil
  33   33  
  34   34  CPPFLAGS        += -I$(COMMONIPF) -I$(KERNELIPF) -DSUNDDI -DUSE_INET6 \
  35   35                     -DSOLARIS2=$(RELEASE_MINOR)
  36   36  CERRWARN        += -_gcc=-Wno-unused-variable
  37   37  CERRWARN        += -_gcc=-Wno-type-limits
  38      -CERRWARN        += -_gcc=-Wno-uninitialized
       38 +CERRWARN        += $(CNOWARN_UNINIT)
  39   39  CERRWARN        += -_gcc=-Wno-unused-label
  40   40  CERRWARN        += -_gcc=-Wno-parentheses
  41   41  CERRWARN        += -_gcc=-Wno-unused-function
  42   42  CERRWARN        += -_gcc=-Wno-empty-body
  43   43  
  44   44  # not linted
  45   45  SMATCH=off
  46   46  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX