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/opl_cfg/Makefile
          +++ new/usr/src/uts/sun4u/opl_cfg/Makefile
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  #
  77   77  CFLAGS += -dalign
  78   78  
  79   79  #
  80   80  # For now, disable these lint checks; maintainers should endeavor
  81   81  # to investigate and remove these for maximum lint coverage.
  82   82  # Please do not carry these forward to new Makefiles.
  83   83  #
  84   84  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  85   85  
  86      -CERRWARN        += -_gcc=-Wno-uninitialized
       86 +CERRWARN        += $(CNOWARN_UNINIT)
  87   87  
  88   88  #
  89   89  #       Default build targets.
  90   90  #
  91   91  .KEEP_STATE:
  92   92  
  93   93  def:            $(DEF_DEPS)
  94   94  
  95   95  all:            $(ALL_DEPS)
  96   96  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX