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/srn/Makefile
          +++ new/usr/src/uts/intel/srn/Makefile
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  OBJECTS         = $(SRN_OBJS:%=$(OBJS_DIR)/%)
  44   44  LINTS           = $(SRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45   45  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  46   46  CONF_SRCDIR     = $(UTSBASE)/common/io
  47   47  
  48   48  #
  49   49  #       Include common rules.
  50   50  #
  51   51  include $(UTSBASE)/intel/Makefile.intel
  52   52  
  53      -CERRWARN        += -_gcc=-Wno-uninitialized
       53 +CERRWARN        += $(CNOWARN_UNINIT)
  54   54  
  55   55  #
  56   56  #       Define targets
  57   57  #
  58   58  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  59   59  LINT_TARGET     = $(MODULE).lint
  60   60  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  61   61  
  62   62  #
  63   63  #       Default build targets.
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX