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/usb_ac/Makefile
          +++ new/usr/src/uts/intel/usb_ac/Makefile
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  
  56   56  #
  57   57  #       Override defaults to build a unique, local modstubs.o.
  58   58  #
  59   59  MODSTUBS_DIR     = $(OBJS_DIR)
  60   60  CLEANFILES      += $(MODSTUBS_O)
  61   61  
  62   62  CERRWARN        += -_gcc=-Wno-switch
  63   63  CERRWARN        += -_gcc=-Wno-type-limits
  64   64  CERRWARN        += -_gcc=-Wno-unused-label
  65      -CERRWARN        += -_gcc=-Wno-uninitialized
       65 +CERRWARN        += $(CNOWARN_UNINIT)
  66   66  
  67   67  # needs work
  68   68  $(OBJS_DIR)/usb_ac.o := SMOFF += deref_check,indenting,testing_index_after_use
  69   69  
  70   70  #
  71   71  # depends on misc/usba
  72   72  #
  73   73  LDFLAGS += -dy -Nmisc/usba -Ndrv/audio
  74   74  
  75   75  #
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX