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/nxge/Makefile
          +++ new/usr/src/uts/intel/nxge/Makefile
↓ open down ↓ 79 lines elided ↑ open up ↑
  80   80  # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
  81   81  # force us to turn off these lint checks.
  82   82  #
  83   83  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  84   84  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85   85  LINTTAGS        += -erroff=E_FALSE_LOGICAL_EXPR
  86   86  
  87   87  CERRWARN        += -_gcc=-Wno-unused-label
  88   88  CERRWARN        += -_gcc=-Wno-parentheses
  89   89  CERRWARN        += -_gcc=-Wno-switch
  90      -CERRWARN        += -_gcc=-Wno-uninitialized
       90 +CERRWARN        += $(CNOWARN_UNINIT)
  91   91  CERRWARN        += -_gcc=-Wno-type-limits
  92   92  
  93   93  # needs work
  94   94  SMATCH=off
  95   95  
  96   96  #
  97   97  #       Driver depends on mac & IP
  98   98  #
  99   99  LDFLAGS         += -dy -N misc/mac -N drv/ip
 100  100  
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX