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/xpvd/Makefile
          +++ new/usr/src/uts/i86xpv/xpvd/Makefile
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51  #
  52   52  #       Define targets
  53   53  #
  54   54  ALL_TARGET      = $(BINARY)
  55   55  LINT_TARGET     = $(MODULE).lint
  56   56  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57   57  
  58   58  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  59   59  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  60   60  
  61      -CERRWARN        += -_gcc=-Wno-uninitialized
       61 +CERRWARN        += $(CNOWARN_UNINIT)
  62   62  
  63   63  #
  64   64  #       Default build targets.
  65   65  #
  66   66  .KEEP_STATE:
  67   67  
  68   68  def:            $(DEF_DEPS)
  69   69  
  70   70  all:            $(ALL_DEPS)
  71   71  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX