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/igb/Makefile
          +++ new/usr/src/uts/intel/igb/Makefile
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  #
  43   43  #       Include common rules.
  44   44  #
  45   45  include $(UTSBASE)/intel/Makefile.intel
  46   46  
  47   47  LINTFLAGS += \
  48   48          -I$(UTSBASE)/common/io/igb \
  49   49          -I$(UTSBASE)/common/io/e1000api
  50   50  
  51   51  CERRWARN        += -_gcc=-Wno-switch
  52      -CERRWARN        += -_gcc=-Wno-uninitialized
       52 +CERRWARN        += $(CNOWARN_UNINIT)
  53   53  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  54   54  
  55   55  # needs work
  56   56  SMOFF += all_func_returns,indenting
  57   57  
  58   58  CFLAGS          += -I$(UTSBASE)/common/io/e1000api
  59   59  CFLAGS          += -I$(UTSBASE)/common/io/igb
  60   60  
  61   61  #
  62   62  #       Define targets
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX