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