Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/busra/Makefile
          +++ new/usr/src/uts/sparc/busra/Makefile
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  OBJECTS         = $(BUSRA_OBJS:%=$(OBJS_DIR)/%)
  45   45  LINTS           = $(BUSRA_OBJS:%.o=$(LINTS_DIR)/%.ln)
  46   46  ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  47   47  
  48   48  #
  49   49  #       Include common rules.
  50   50  #
  51   51  include $(UTSBASE)/sparc/Makefile.sparc
  52   52  
  53   53  CERRWARN        += -_gcc=-Wno-unused-label
  54      -CERRWARN        += -_gcc=-Wno-uninitialized
       54 +CERRWARN        += $(CNOWARN_UNINIT)
  55   55  
  56   56  #
  57   57  #       Define targets
  58   58  #
  59   59  ALL_TARGET      = $(BINARY)
  60   60  LINT_TARGET     = $(MODULE).lint
  61   61  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  62   62  
  63   63  #
  64   64  #       Overrides.
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX