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/igb/Makefile
          +++ new/usr/src/uts/sparc/igb/Makefile
↓ open down ↓ 47 lines elided ↑ open up ↑
  48   48  #
  49   49  #       Include common rules.
  50   50  #
  51   51  include $(UTSBASE)/sparc/Makefile.sparc
  52   52  
  53   53  LINTFLAGS += \
  54   54          -I$(UTSBASE)/common/io/igb \
  55   55          -I$(UTSBASE)/common/io/e1000api
  56   56  
  57   57  CERRWARN        += -_gcc=-Wno-switch
  58      -CERRWARN        += -_gcc=-Wno-uninitialized
       58 +CERRWARN        += $(CNOWARN_UNINIT)
  59   59  CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  60   60  
  61   61  #
  62   62  #       Define targets
  63   63  #
  64   64  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  65   65  LINT_TARGET     = $(MODULE).lint
  66   66  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  67   67  
  68   68  #
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX