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/ixgbe/Makefile
          +++ new/usr/src/uts/intel/ixgbe/Makefile
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  #
  51   51  #       Include common rules.
  52   52  #
  53   53  include $(UTSBASE)/intel/Makefile.intel
  54   54  
  55   55  INC_PATH        += -I$(UTSBASE)/common/io/ixgbe
  56   56  INC_PATH        += -I$(UTSBASE)/common/io/ixgbe/core
  57   57  
  58   58  CERRWARN        += -_gcc=-Wno-parentheses
  59   59  CERRWARN        += -_gcc=-Wno-switch
  60      -CERRWARN        += -_gcc=-Wno-uninitialized
       60 +CERRWARN        += $(CNOWARN_UNINIT)
  61   61  CERRWARN        += -_gcc=-Wno-unused-value
  62   62  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  63   63  
  64   64  # 3rd party code
  65   65  SMOFF += all_func_returns
  66   66  
  67   67  #
  68   68  #       Define targets
  69   69  #
  70   70  ALL_TARGET      = $(BINARY) $(CONFMOD)
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX