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