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/mii/Makefile
          +++ new/usr/src/uts/intel/mii/Makefile
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  #
  48   48  #       Define targets
  49   49  #
  50   50  ALL_TARGET      = $(BINARY)
  51   51  LINT_TARGET     = $(MODULE).lint
  52   52  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53   53  
  54   54  LDFLAGS         += -dy -N misc/mac
  55   55  
  56   56  CERRWARN        += -_gcc=-Wno-switch
  57      -CERRWARN        += -_gcc=-Wno-uninitialized
       57 +CERRWARN        += $(CNOWARN_UNINIT)
  58   58  
  59   59  # needs work
  60   60  SMOFF += all_func_returns
  61   61  
  62   62  #
  63   63  #       Default build targets.
  64   64  #
  65   65  .KEEP_STATE:
  66   66  
  67   67  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX