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