Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/scsi_vhci/Makefile
          +++ new/usr/src/uts/intel/scsi_vhci/Makefile
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  LINTS           = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44   44  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45   45  CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
  46   46  
  47   47  #
  48   48  # Include common rules.
  49   49  #
  50   50  include $(UTSBASE)/intel/Makefile.intel
  51   51  
  52   52  CERRWARN        += -_gcc=-Wno-parentheses
  53      -CERRWARN        += -_gcc=-Wno-uninitialized
       53 +CERRWARN        += $(CNOWARN_UNINIT)
  54   54  CERRWARN        += -_gcc=-Wno-unused-label
  55   55  
  56   56  # needs work
  57   57  SMATCH=off
  58   58  
  59   59  #
  60   60  # Define targets.
  61   61  #
  62   62  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63   63  LINT_TARGET     = $(MODULE).lint
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX