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/xge/Makefile
          +++ new/usr/src/uts/sparc/xge/Makefile
↓ open down ↓ 102 lines elided ↑ open up ↑
 103  103  # Please do not carry these forward to new Makefiles.
 104  104  #
 105  105  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 106  106  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 107  107  LINTTAGS        += -erroff=E_STATIC_UNUSED
 108  108  
 109  109  CERRWARN        += -_gcc=-Wno-parentheses
 110  110  CERRWARN        += -_gcc=-Wno-unused-variable
 111  111  CERRWARN        += -_gcc=-Wno-unused-label
 112  112  CERRWARN        += -_gcc=-Wno-empty-body
 113      -CERRWARN        += -_gcc=-Wno-uninitialized
      113 +CERRWARN        += $(CNOWARN_UNINIT)
 114  114  
 115  115  #
 116  116  #
 117  117  #       Default build targets.
 118  118  #
 119  119  .KEEP_STATE:
 120  120  
 121  121  def:            $(DEF_DEPS)
 122  122  
 123  123  all:            $(ALL_DEPS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX