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/ugen/Makefile
          +++ new/usr/src/uts/intel/ugen/Makefile
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  MODULE          = ugen
  41   41  OBJECTS         = $(UGEN_OBJS:%=$(OBJS_DIR)/%)
  42   42  LINTS           = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln)
  43   43  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  44   44  
  45   45  #
  46   46  #       Include common rules.
  47   47  #
  48   48  include $(UTSBASE)/intel/Makefile.intel
  49   49  
  50      -CERRWARN        += -_gcc=-Wno-uninitialized
       50 +CERRWARN        += $(CNOWARN_UNINIT)
  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)
  58   58  
  59   59  #
  60   60  # depends on misc/usba misc/scsi
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX