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