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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/pci/Makefile
          +++ new/usr/src/uts/i86xpv/pci/Makefile
↓ open down ↓ 64 lines elided ↑ open up ↑
  65   65  #
  66   66  # Name of the module is needed by the source, to distinguish from other
  67   67  # PCI/PCI-express nexi
  68   68  #
  69   69  CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  70   70  LINTFLAGS       += -D_MODULE_NAME="\"$(MODULE)\""
  71   71  
  72   72  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73   73  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  74   74  
  75      -CERRWARN        += -_gcc=-Wno-uninitialized
       75 +CERRWARN        += $(CNOWARN_UNINIT)
  76   76  CERRWARN        += -_gcc=-Wno-parentheses
  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  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX