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/trill/Makefile
          +++ new/usr/src/uts/intel/trill/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  MODULE          = trill
  38   38  OBJECTS         = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
  39   39  LINTS           = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40   40  ROOTMODULE      = $(ROOT_SOCK_DIR)/$(MODULE)
  41   41  
  42   42  #
  43   43  #       Include common rules.
  44   44  #
  45   45  include $(UTSBASE)/intel/Makefile.intel
  46   46  
  47      -CERRWARN        += -_gcc=-Wno-uninitialized
       47 +CERRWARN        += $(CNOWARN_UNINIT)
  48   48  
  49   49  # needs work
  50   50  SMOFF += all_func_returns
  51   51  
  52   52  #
  53   53  #       Define targets
  54   54  #
  55   55  ALL_TARGET      = $(BINARY)
  56   56  LINT_TARGET     = $(MODULE).lint
  57   57  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX