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


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 
  28 LIBIPF=         ../../lib/$(MACH)/libipf.a
  29 LIBIPF64=               ../../lib/$(MACH64)/libipf.a
  30 
  31 COMMONIPF=      $(SRC)/uts/common/inet/ipf
  32 KERNELIPF=      $(SRC)/uts/common/inet/pfil
  33 
  34 CPPFLAGS        += -I$(COMMONIPF) -I$(KERNELIPF) -DSUNDDI -DUSE_INET6 \
  35                    -DSOLARIS2=$(RELEASE_MINOR)
  36 CERRWARN        += -_gcc=-Wno-unused-variable
  37 CERRWARN        += -_gcc=-Wno-type-limits
  38 CERRWARN        += -_gcc=-Wno-uninitialized
  39 CERRWARN        += -_gcc=-Wno-unused-label
  40 CERRWARN        += -_gcc=-Wno-parentheses
  41 CERRWARN        += -_gcc=-Wno-unused-function
  42 CERRWARN        += -_gcc=-Wno-empty-body
  43 
  44 # not linted
  45 SMATCH=off
  46 


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 
  28 LIBIPF=         ../../lib/$(MACH)/libipf.a
  29 LIBIPF64=               ../../lib/$(MACH64)/libipf.a
  30 
  31 COMMONIPF=      $(SRC)/uts/common/inet/ipf
  32 KERNELIPF=      $(SRC)/uts/common/inet/pfil
  33 
  34 CPPFLAGS        += -I$(COMMONIPF) -I$(KERNELIPF) -DSUNDDI -DUSE_INET6 \
  35                    -DSOLARIS2=$(RELEASE_MINOR)
  36 CERRWARN        += -_gcc=-Wno-unused-variable
  37 CERRWARN        += -_gcc=-Wno-type-limits
  38 CERRWARN        += $(CNOWARN_UNINIT)
  39 CERRWARN        += -_gcc=-Wno-unused-label
  40 CERRWARN        += -_gcc=-Wno-parentheses
  41 CERRWARN        += -_gcc=-Wno-unused-function
  42 CERRWARN        += -_gcc=-Wno-empty-body
  43 
  44 # not linted
  45 SMATCH=off
  46