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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/urf/Makefile
          +++ new/usr/src/uts/intel/urf/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  28   28  
  29   29  #
  30   30  #       Include common rules.
  31   31  #
  32   32  include $(UTSBASE)/intel/Makefile.intel
  33   33  
  34   34  CPPFLAGS        += -I$(UTSBASE)/common/io/usbgem
  35   35  CPPFLAGS        += -DVERSION=\"2.0.0\"
  36   36  CPPFLAGS        += -DUSBGEM_CONFIG_GLDv3
  37      -CERRWARN        += -_gcc=-Wno-uninitialized
       37 +CERRWARN        += $(CNOWARN_UNINIT)
  38   38  LDFLAGS         += -dy -N misc/mac -N drv/ip -N misc/usba -N misc/usbgem
  39   39  
  40   40  CERRWARN        += -_gcc=-Wno-unused-function
  41   41  CERRWARN        += -_gcc=-Wno-unused-variable
  42   42  CERRWARN        += -_gcc=-Wno-unused-label
  43   43  
  44   44  LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED
  45   45  LINTTAGS        += -erroff=E_FUNC_ARG_UNUSED
  46   46  LINTTAGS        += -erroff=E_STATIC_UNUSED
  47   47  LINTTAGS        += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX