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