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/usbsprl/Makefile
          +++ new/usr/src/uts/intel/usbsprl/Makefile
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  MODULE          = usbsprl
  39   39  OBJECTS         = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%)
  40   40  LINTS           = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  41   41  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  42   42  
  43   43  #
  44   44  #       Include common rules.
  45   45  #
  46   46  include $(UTSBASE)/intel/Makefile.intel
  47   47  
  48      -CERRWARN        += -_gcc=-Wno-uninitialized
       48 +CERRWARN        += $(CNOWARN_UNINIT)
  49   49  
  50   50  LDFLAGS         += -dy -Nmisc/usba -Nmisc/usbser
  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  
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX