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/amd_iommu/Makefile
          +++ new/usr/src/uts/i86pc/amd_iommu/Makefile
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  #       Define targets
  51   51  #
  52   52  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  53   53  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54   54  
  55   55  #
  56   56  # depends on misc/iommulib and misc/acpica
  57   57  #
  58   58  LDFLAGS         += -dy -Nmisc/iommulib -Nmisc/acpica
  59   59  
  60      -CERRWARN        += -_gcc=-Wno-uninitialized
       60 +CERRWARN        += $(CNOWARN_UNINIT)
  61   61  CERRWARN        += -_gcc=-Wno-parentheses
  62   62  CERRWARN        += -_gcc=-Wno-unused-function
  63   63  
  64   64  #
  65   65  #       Default build targets.
  66   66  #
  67   67  .KEEP_STATE:
  68   68  
  69   69  def:            $(DEF_DEPS)
  70   70  
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX