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/npe/Makefile
          +++ new/usr/src/uts/i86xpv/npe/Makefile
↓ open down ↓ 66 lines elided ↑ open up ↑
  67   67  #
  68   68  # Name of the module is needed by the source, to distinguish from other
  69   69  # PCI/PCI-express nexi
  70   70  #
  71   71  CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  72   72  LINTFLAGS       += -D_MODULE_NAME="\"$(MODULE)\""
  73   73  
  74   74  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  75   75  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  76   76  
  77      -CERRWARN        += -_gcc=-Wno-uninitialized
       77 +CERRWARN        += $(CNOWARN_UNINIT)
  78   78  CERRWARN        += -_gcc=-Wno-parentheses
  79   79  CERRWARN        += -_gcc=-Wno-unused-function
  80   80  
  81   81  #
  82   82  #       Default build targets.
  83   83  #
  84   84  .KEEP_STATE:
  85   85  
  86   86  def:            $(DEF_DEPS)
  87   87  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX