Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  68 #
  69 # Define dependencies on specfs, rpcmod, and rpcsec
  70 #
  71 LDFLAGS         += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
  72 
  73 #
  74 # For now, disable these lint checks; maintainers should endeavor
  75 # to investigate and remove these for maximum lint coverage.
  76 # Please do not carry these forward to new Makefiles.
  77 #
  78 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  79 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  80 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  81 LINTTAGS        += -erroff=E_STATIC_UNUSED
  82 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  83 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  84 
  85 CERRWARN        += -_gcc=-Wno-parentheses
  86 CERRWARN        += -_gcc=-Wno-unused-label
  87 CERRWARN        += -_gcc=-Wno-type-limits
  88 CERRWARN        += -_gcc=-Wno-uninitialized
  89 CERRWARN        += -_gcc=-Wno-switch
  90 CERRWARN        += -_gcc=-Wno-unused-function
  91 CERRWARN        += -_gcc=-Wno-unused-variable
  92 CERRWARN        += -_gcc=-Wno-empty-body
  93 
  94 #
  95 #       Default build targets.
  96 #
  97 .KEEP_STATE:
  98 
  99 def:            $(DEF_DEPS)
 100 
 101 all:            $(ALL_DEPS)
 102 
 103 clean:          $(CLEAN_DEPS)
 104 
 105 clobber:        $(CLOBBER_DEPS)
 106 
 107 lint:           $(LINT_DEPS)
 108 


  68 #
  69 # Define dependencies on specfs, rpcmod, and rpcsec
  70 #
  71 LDFLAGS         += -dy -N fs/specfs -N strmod/rpcmod -N misc/rpcsec
  72 
  73 #
  74 # For now, disable these lint checks; maintainers should endeavor
  75 # to investigate and remove these for maximum lint coverage.
  76 # Please do not carry these forward to new Makefiles.
  77 #
  78 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  79 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  80 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  81 LINTTAGS        += -erroff=E_STATIC_UNUSED
  82 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  83 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  84 
  85 CERRWARN        += -_gcc=-Wno-parentheses
  86 CERRWARN        += -_gcc=-Wno-unused-label
  87 CERRWARN        += -_gcc=-Wno-type-limits
  88 CERRWARN        += $(CNOWARN_UNINIT)
  89 CERRWARN        += -_gcc=-Wno-switch
  90 CERRWARN        += -_gcc=-Wno-unused-function
  91 CERRWARN        += -_gcc=-Wno-unused-variable
  92 CERRWARN        += -_gcc=-Wno-empty-body
  93 
  94 #
  95 #       Default build targets.
  96 #
  97 .KEEP_STATE:
  98 
  99 def:            $(DEF_DEPS)
 100 
 101 all:            $(ALL_DEPS)
 102 
 103 clean:          $(CLEAN_DEPS)
 104 
 105 clobber:        $(CLOBBER_DEPS)
 106 
 107 lint:           $(LINT_DEPS)
 108