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