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/tem/Makefile
          +++ new/usr/src/uts/sparc/tem/Makefile
↓ open down ↓ 61 lines elided ↑ open up ↑
  62   62  LDFLAGS += -dy -Ndacf/consconfig_dacf
  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_STATIC_UNUSED
  70   70  
  71   71  CERRWARN        += -_gcc=-Wno-unused-function
  72      -CERRWARN        += -_gcc=-Wno-uninitialized
       72 +CERRWARN        += $(CNOWARN_UNINIT)
  73   73  
  74   74  #
  75   75  #       Default build targets.
  76   76  #
  77   77  .KEEP_STATE:
  78   78  
  79   79  def:            $(DEF_DEPS)
  80   80  
  81   81  all:            $(ALL_DEPS)
  82   82  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX