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/i86hvm/xpvd/Makefile
          +++ new/usr/src/uts/i86pc/i86hvm/xpvd/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  
  53   53  #
  54   54  #       Define targets
  55   55  #
  56   56  ALL_TARGET      = $(BINARY) $(CONFMOD)
  57   57  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58   58  
  59   59  CPPFLAGS        += -DHVMPV_XPVD_VERS=1
  60   60  LDFLAGS         += -dy -Ndrv/xpv
  61   61  
  62      -CERRWARN        += -_gcc=-Wno-uninitialized
       62 +CERRWARN        += $(CNOWARN_UNINIT)
  63   63  
  64   64  #
  65   65  #       Default build targets.
  66   66  #
  67   67  .KEEP_STATE:
  68   68  
  69   69  def:            $(DEF_DEPS)
  70   70  
  71   71  all:            $(ALL_DEPS)
  72   72  
  73   73  clean:          $(CLEAN_DEPS)
  74   74  
  75   75  clobber:        $(CLOBBER_DEPS)
  76   76  
  77   77  install:        $(INSTALL_DEPS)
  78   78  
  79   79  #
  80   80  #       Include common targets.
  81   81  #
  82   82  include $(UTSBASE)/i86pc/i86hvm/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX