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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/pci/Makefile
          +++ new/usr/src/uts/i86pc/pci/Makefile
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  # PCI/PCI-express nexi
  67   67  #
  68   68  CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  69   69  
  70   70  #
  71   71  # For now, disable these checks; maintainers should endeavor
  72   72  # to investigate and remove these for maximum coverage.
  73   73  # Please do not carry these forward to new Makefiles.
  74   74  #
  75   75  CERRWARN        += -_gcc=-Wno-parentheses
  76      -CERRWARN        += -_gcc=-Wno-uninitialized
       76 +CERRWARN        += $(CNOWARN_UNINIT)
  77   77  CERRWARN        += -_gcc=-Wno-unused-function
  78   78  
  79   79  #
  80   80  #       Default build targets.
  81   81  #
  82   82  .KEEP_STATE:
  83   83  
  84   84  def:            $(DEF_DEPS)
  85   85  
  86   86  all:            $(ALL_DEPS)
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX