Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/nxge/Makefile
          +++ new/usr/src/uts/sun4v/nxge/Makefile
↓ open down ↓ 107 lines elided ↑ open up ↑
 108  108  #
 109  109  # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
 110  110  # force us to turn off these lint checks.
 111  111  #
 112  112  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 113  113  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 114  114  
 115  115  CERRWARN        += -_gcc=-Wno-unused-label
 116  116  CERRWARN        += -_gcc=-Wno-parentheses
 117  117  CERRWARN        += -_gcc=-Wno-switch
 118      -CERRWARN        += -_gcc=-Wno-uninitialized
      118 +CERRWARN        += $(CNOWARN_UNINIT)
 119  119  CERRWARN        += -_gcc=-Wno-type-limits
 120  120  
 121  121  #
 122  122  #       Driver depends on mac & IP
 123  123  #
 124  124  LDFLAGS         += -dy -N misc/mac -N drv/ip
 125  125  
 126  126  #
 127  127  #       Default build targets.
 128  128  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX