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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/ixgbe/Makefile
          +++ new/usr/src/uts/sparc/ixgbe/Makefile
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  #
  50   50  #       Include common rules.
  51   51  #
  52   52  include $(UTSBASE)/sparc/Makefile.sparc
  53   53  
  54   54  INC_PATH        += -I$(UTSBASE)/common/io/ixgbe
  55   55  INC_PATH        += -I$(UTSBASE)/common/io/ixgbe/core
  56   56  
  57   57  CERRWARN        += -_gcc=-Wno-parentheses
  58   58  CERRWARN        += -_gcc=-Wno-switch
  59      -CERRWARN        += -_gcc=-Wno-uninitialized
       59 +CERRWARN        += $(CNOWARN_UNINIT)
  60   60  CERRWARN        += -_gcc=-Wno-unused-value
  61   61  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  62   62  
  63   63  #
  64   64  #       Define targets
  65   65  #
  66   66  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  67   67  LINT_TARGET     = $(MODULE).lint
  68   68  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  69   69  
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX