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/hook/Makefile
          +++ new/usr/src/uts/sparc/hook/Makefile
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  MODULE          = hook
  43   43  OBJECTS         = $(HOOK_OBJS:%=$(OBJS_DIR)/%)
  44   44  LINTS           = $(HOOK_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45   45  ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  46   46  
  47   47  #
  48   48  #       Include common rules.
  49   49  #
  50   50  include $(UTSBASE)/sparc/Makefile.sparc
  51   51  
  52      -CERRWARN        += -_gcc=-Wno-uninitialized
       52 +CERRWARN        += $(CNOWARN_UNINIT)
  53   53  
  54   54  #
  55   55  #       Define targets
  56   56  #
  57   57  ALL_TARGET      = $(BINARY)
  58   58  LINT_TARGET     = $(MODULE).lint
  59   59  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
  60   60  
  61   61  #
  62   62  # lint pass one enforcement
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX