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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/nxge/Makefile
          +++ new/usr/src/uts/sun4u/nxge/Makefile
↓ open down ↓ 83 lines elided ↑ open up ↑
  84   84  #
  85   85  # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
  86   86  # force us to turn off these lint checks.
  87   87  #
  88   88  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  89   89  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  90   90  
  91   91  CERRWARN        += -_gcc=-Wno-unused-label
  92   92  CERRWARN        += -_gcc=-Wno-parentheses
  93   93  CERRWARN        += -_gcc=-Wno-switch
  94      -CERRWARN        += -_gcc=-Wno-uninitialized
       94 +CERRWARN        += $(CNOWARN_UNINIT)
  95   95  CERRWARN        += -_gcc=-Wno-type-limits
  96   96  
  97   97  #
  98   98  #       Driver depends on mac & IP
  99   99  #
 100  100  LDFLAGS         += -dy -N misc/mac -N drv/ip
 101  101  
 102  102  #
 103  103  #       Default build targets.
 104  104  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX