Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/bootdev/Makefile
          +++ new/usr/src/uts/sun4v/bootdev/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  #
  60   60  CFLAGS += $(CCVERBOSE)
  61   61  
  62   62  #
  63   63  # For now, disable these lint checks; maintainers should endeavor
  64   64  # to investigate and remove these for maximum lint coverage.
  65   65  # Please do not carry these forward to new Makefiles.
  66   66  #
  67   67  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  68   68  
  69      -CERRWARN        += -_gcc=-Wno-uninitialized
       69 +CERRWARN        += $(CNOWARN_UNINIT)
  70   70  
  71   71  #
  72   72  #       Default build targets.
  73   73  #
  74   74  .KEEP_STATE:
  75   75  
  76   76  def:            $(DEF_DEPS)
  77   77  
  78   78  all:            $(ALL_DEPS)
  79   79  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX