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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/cmdk/Makefile
          +++ new/usr/src/uts/intel/cmdk/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  #       Overrides.
  61   61  #
  62   62  DEBUG_FLGS      =
  63   63  DEBUG_DEFS      += $(DEBUG_FLGS)
  64   64  LDFLAGS         += -dy -Nmisc/dadk -Nmisc/strategy -Nmisc/cmlb
  65   65  
  66   66  # Larger than 1TB VTOC support
  67   67  CPPFLAGS        += -D_EXTVTOC
  68   68  
  69   69  CERRWARN        += -_gcc=-Wno-unused-function
  70      -CERRWARN        += -_gcc=-Wno-uninitialized
       70 +CERRWARN        += $(CNOWARN_UNINIT)
  71   71  CERRWARN        += -_gcc=-Wno-parentheses
  72   72  CERRWARN        += -_gcc=-Wno-type-limits
  73   73  
  74   74  #
  75   75  # For now, disable these lint checks; maintainers should endeavor
  76   76  # to investigate and remove these for maximum lint coverage.
  77   77  # Please do not carry these forward to new Makefiles.
  78   78  #
  79   79  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  80   80  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX