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


  61 CFLAGS          += $(CCVERBOSE)
  62 
  63 #
  64 # Define dependency on specfs
  65 #
  66 LDFLAGS         += -dy -N fs/specfs
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  74 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  76 LINTTAGS        += -erroff=E_STATIC_UNUSED
  77 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  78 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  79 
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += -_gcc=-Wno-uninitialized
  82 CERRWARN        += -_gcc=-Wno-unused-function
  83 CERRWARN        += -_gcc=-Wno-type-limits
  84 CERRWARN        += -_gcc=-Wno-switch
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS)


  61 CFLAGS          += $(CCVERBOSE)
  62 
  63 #
  64 # Define dependency on specfs
  65 #
  66 LDFLAGS         += -dy -N fs/specfs
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  74 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  76 LINTTAGS        += -erroff=E_STATIC_UNUSED
  77 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  78 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  79 
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += $(CNOWARN_UNINIT)
  82 CERRWARN        += -_gcc=-Wno-unused-function
  83 CERRWARN        += -_gcc=-Wno-type-limits
  84 CERRWARN        += -_gcc=-Wno-switch
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS)