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/hidparser/Makefile
          +++ new/usr/src/uts/intel/hidparser/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  MODULE          = hidparser
  40   40  OBJECTS         = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
  41   41  LINTS           = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
  42   42  ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  43   43  
  44   44  #
  45   45  #       Include common rules.
  46   46  #
  47   47  include $(UTSBASE)/intel/Makefile.intel
  48   48  
  49      -CERRWARN        += -_gcc=-Wno-uninitialized
       49 +CERRWARN        += $(CNOWARN_UNINIT)
  50   50  
  51   51  #
  52   52  #       Define targets
  53   53  #
  54   54  ALL_TARGET      = $(BINARY)
  55   55  LINT_TARGET     = $(MODULE).lint
  56   56  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  57   57  
  58   58  #
  59   59  #       Override defaults to build a unique, local modstubs.o.
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX