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/mega_sas/Makefile
          +++ new/usr/src/uts/intel/mega_sas/Makefile
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  #
  56   56  ALL_TARGET      = $(BINARY) $(CONFMOD)
  57   57  LINT_TARGET     = $(MODULE).lint
  58   58  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59   59  
  60   60  #
  61   61  #       Kernel Module Dependencies
  62   62  #
  63   63  LDFLAGS         += -dy -Nmisc/scsi
  64   64  
  65      -CERRWARN        += -_gcc=-Wno-uninitialized
       65 +CERRWARN        += $(CNOWARN_UNINIT)
  66   66  
  67   67  # needs work
  68   68  $(OBJS_DIR)/megaraid_sas.o := SMOFF += snprintf_overflow,all_func_returns
  69   69  
  70   70  #
  71   71  #       Default build targets.
  72   72  #
  73   73  .KEEP_STATE:
  74   74  
  75   75  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX