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