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/dld/Makefile
          +++ new/usr/src/uts/sparc/dld/Makefile
↓ open down ↓ 61 lines elided ↑ open up ↑
  62   62  #
  63   63  # For now, disable these lint checks; maintainers should endeavor
  64   64  # to investigate and remove these for maximum lint coverage.
  65   65  # Please do not carry these forward to new Makefiles.
  66   66  #
  67   67  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68   68  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69   69  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70   70  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71   71  
  72      -CERRWARN        += -_gcc=-Wno-uninitialized
       72 +CERRWARN        += $(CNOWARN_UNINIT)
  73   73  CERRWARN        += -_gcc=-Wno-type-limits
  74   74  CERRWARN        += -_gcc=-Wno-parentheses
  75   75  
  76   76  #
  77   77  #       Default build targets.
  78   78  #
  79   79  .KEEP_STATE:
  80   80  
  81   81  def:            $(DEF_DEPS)
  82   82  
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX