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/nv_sata/Makefile
          +++ new/usr/src/uts/intel/nv_sata/Makefile
↓ open down ↓ 67 lines elided ↑ open up ↑
  68   68  #
  69   69  LDFLAGS += -dy -N misc/sata
  70   70  
  71   71  #
  72   72  # For now, disable these lint checks; maintainers should endeavor
  73   73  # to investigate and remove these for maximum lint coverage.
  74   74  # Please do not carry these forward to new Makefiles.
  75   75  #
  76   76  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77   77  
  78      -CERRWARN        += -_gcc=-Wno-uninitialized
       78 +CERRWARN        += $(CNOWARN_UNINIT)
  79   79  
  80   80  # needs work
  81   81  $(OBJS_DIR)/nv_sata.o := SMOFF += deref_check
  82   82  
  83   83  #
  84   84  #       Default build targets.
  85   85  #
  86   86  .KEEP_STATE:
  87   87  
  88   88  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX