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/hxge/Makefile
          +++ new/usr/src/uts/sparc/hxge/Makefile
↓ open down ↓ 82 lines elided ↑ open up ↑
  83   83  #
  84   84  # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
  85   85  # force us to turn off these lint checks.
  86   86  #
  87   87  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  88   88  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  89   89  LINTTAGS        += -erroff=E_FALSE_LOGICAL_EXPR
  90   90  
  91   91  CERRWARN        += -_gcc=-Wno-unused-label
  92   92  CERRWARN        += -_gcc=-Wno-switch
  93      -CERRWARN        += -_gcc=-Wno-uninitialized
       93 +CERRWARN        += $(CNOWARN_UNINIT)
  94   94  CERRWARN        += -_gcc=-Wno-parentheses
  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  
 101  101  #
 102  102  #       Default build targets.
 103  103  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX