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