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/rootnex/Makefile
          +++ new/usr/src/uts/sun4u/rootnex/Makefile
↓ open down ↓ 72 lines elided ↑ open up ↑
  73   73  # to investigate and remove these for maximum lint coverage.
  74   74  # Please do not carry these forward to new Makefiles.
  75   75  #
  76   76  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77   77  LINTTAGS        += -erroff=E_STATIC_UNUSED
  78   78  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  79   79  
  80   80  CERRWARN        += -_gcc=-Wno-switch
  81   81  CERRWARN        += -_gcc=-Wno-unused-variable
  82   82  CERRWARN        += -_gcc=-Wno-parentheses
  83      -CERRWARN        += -_gcc=-Wno-uninitialized
       83 +CERRWARN        += $(CNOWARN_UNINIT)
  84   84  
  85   85  #
  86   86  #       Default build targets.
  87   87  #
  88   88  .KEEP_STATE:
  89   89  
  90   90  def:            $(DEF_DEPS)
  91   91  
  92   92  all:            $(ALL_DEPS)
  93   93  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX