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/pcicfg/Makefile
          +++ new/usr/src/uts/sparc/pcicfg/Makefile
↓ open down ↓ 81 lines elided ↑ open up ↑
  82   82  # to investigate and remove these for maximum lint coverage.
  83   83  # Please do not carry these forward to new Makefiles.
  84   84  #
  85   85  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  86   86  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87   87  LINTTAGS        += -erroff=E_STATIC_UNUSED
  88   88  
  89   89  CERRWARN        += -_gcc=-Wno-unused-function
  90   90  CERRWARN        += -_gcc=-Wno-unused-value
  91   91  CERRWARN        += -_gcc=-Wno-unused-variable
  92      -CERRWARN        += -_gcc=-Wno-uninitialized
       92 +CERRWARN        += $(CNOWARN_UNINIT)
  93   93  
  94   94  #
  95   95  #       Default build targets.
  96   96  #
  97   97  .KEEP_STATE:
  98   98  
  99   99  def:            $(DEF_DEPS)
 100  100  
 101  101  all:            $(ALL_DEPS)
 102  102  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX