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/npe/Makefile
          +++ new/usr/src/uts/i86pc/npe/Makefile
↓ open down ↓ 67 lines elided ↑ open up ↑
  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  
  73   73  #
  74   74  # For now, disable these checks; maintainers should endeavor
  75   75  # to investigate and remove these for maximum coverage.
  76   76  # Please do not carry these forward to new Makefiles.
  77   77  #
  78      -CERRWARN        += -_gcc=-Wno-uninitialized
       78 +CERRWARN        += $(CNOWARN_UNINIT)
  79   79  CERRWARN        += -_gcc=-Wno-parentheses
  80   80  CERRWARN        += -_gcc=-Wno-unused-function
  81   81  
  82   82  #
  83   83  #       Default build targets.
  84   84  #
  85   85  .KEEP_STATE:
  86   86  
  87   87  def:            $(DEF_DEPS)
  88   88  
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX