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/mpt_sas/Makefile
          +++ new/usr/src/uts/intel/mpt_sas/Makefile
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  #
  48   48  ALL_TARGET      = $(BINARY) $(CONFMOD)
  49   49  LINT_TARGET     = $(MODULE).lint
  50   50  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  51   51  
  52   52  #
  53   53  #       Include common rules.
  54   54  #
  55   55  include $(UTSBASE)/intel/Makefile.intel
  56   56  
  57      -CERRWARN        += -_gcc=-Wno-uninitialized
       57 +CERRWARN        += $(CNOWARN_UNINIT)
  58   58  
  59   59  # needs work
  60   60  $(OBJS_DIR)/mptsas_raid.o := SMOFF += index_overflow
  61   61  $(OBJS_DIR)/mptsas.o := SMOFF += deref_check
  62   62  
  63   63  #
  64   64  #       Default build targets.
  65   65  #
  66   66  .KEEP_STATE:
  67   67  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX