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