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/bge/Makefile
          +++ new/usr/src/uts/sun4v/bge/Makefile
↓ open down ↓ 68 lines elided ↑ open up ↑
  69   69  #
  70   70  LDFLAGS         += -dy -N misc/mac -N drv/ip
  71   71  
  72   72  #
  73   73  # For now, disable these lint checks; maintainers should endeavor
  74   74  # to investigate and remove these for maximum lint coverage.
  75   75  # Please do not carry these forward to new Makefiles.
  76   76  #
  77   77  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78   78  
  79      -CERRWARN        += -_gcc=-Wno-uninitialized
       79 +CERRWARN        += $(CNOWARN_UNINIT)
  80   80  CERRWARN        += -_gcc=-Wno-switch
  81   81  CERRWARN        += -_gcc=-Wno-parentheses
  82   82  CERRWARN        += -_gcc=-Wno-unused-variable
  83   83  CERRWARN        += -_gcc=-Wno-unused-function
  84   84  
  85   85  #
  86   86  #       Default build targets.
  87   87  #
  88   88  .KEEP_STATE:
  89   89  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX