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/arcmsr/Makefile
          +++ new/usr/src/uts/intel/arcmsr/Makefile
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  CONF_SRCDIR     = $(UTSBASE)/intel/io/scsi/adapters/arcmsr
  39   39  
  40   40  #
  41   41  # Include common rules.
  42   42  #
  43   43  include $(UTSBASE)/intel/Makefile.intel
  44   44  
  45   45  CERRWARN        += -_gcc=-Wno-switch
  46   46  CERRWARN        += -_gcc=-Wno-unused-label
  47   47  CERRWARN        += -_gcc=-Wno-parentheses
  48      -CERRWARN        += -_gcc=-Wno-uninitialized
       48 +CERRWARN        += $(CNOWARN_UNINIT)
  49   49  
  50   50  # needs work
  51   51  $(OBJS_DIR)/arcmsr.o := SMOFF += deref_check
  52   52  
  53   53  #
  54   54  # Define targets.
  55   55  #
  56   56  ALL_TARGET      = $(BINARY) $(CONFMOD)
  57   57  LINT_TARGET     = $(MODULE).lint
  58   58  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX