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


  74 #
  75 CFLAGS += $(CCVERBOSE)
  76 
  77 #
  78 # Depends on bootdev
  79 #
  80 LDFLAGS += -dy -N misc/bootdev
  81 
  82 #
  83 # For now, disable these lint checks; maintainers should endeavor
  84 # to investigate and remove these for maximum lint coverage.
  85 # Please do not carry these forward to new Makefiles.
  86 #
  87 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  89 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  90 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  91 
  92 CERRWARN        += -_gcc=-Wno-unused-variable
  93 CERRWARN        += -_gcc=-Wno-unused-label
  94 CERRWARN        += -_gcc=-Wno-uninitialized
  95 CERRWARN        += -_gcc=-Wno-parentheses
  96 CERRWARN        += -_gcc=-Wno-type-limits
  97 
  98 #
  99 #       Default build targets.
 100 #
 101 .KEEP_STATE:
 102 
 103 def:            $(DEF_DEPS)
 104 
 105 all:            $(ALL_DEPS)
 106 
 107 clean:          $(CLEAN_DEPS)
 108 
 109 clobber:        $(CLOBBER_DEPS)
 110 
 111 lint:           $(LINT_DEPS)
 112 
 113 modlintlib:     $(MODLINTLIB_DEPS)
 114 


  74 #
  75 CFLAGS += $(CCVERBOSE)
  76 
  77 #
  78 # Depends on bootdev
  79 #
  80 LDFLAGS += -dy -N misc/bootdev
  81 
  82 #
  83 # For now, disable these lint checks; maintainers should endeavor
  84 # to investigate and remove these for maximum lint coverage.
  85 # Please do not carry these forward to new Makefiles.
  86 #
  87 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  89 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  90 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  91 
  92 CERRWARN        += -_gcc=-Wno-unused-variable
  93 CERRWARN        += -_gcc=-Wno-unused-label
  94 CERRWARN        += $(CNOWARN_UNINIT)
  95 CERRWARN        += -_gcc=-Wno-parentheses
  96 CERRWARN        += -_gcc=-Wno-type-limits
  97 
  98 #
  99 #       Default build targets.
 100 #
 101 .KEEP_STATE:
 102 
 103 def:            $(DEF_DEPS)
 104 
 105 all:            $(ALL_DEPS)
 106 
 107 clean:          $(CLEAN_DEPS)
 108 
 109 clobber:        $(CLOBBER_DEPS)
 110 
 111 lint:           $(LINT_DEPS)
 112 
 113 modlintlib:     $(MODLINTLIB_DEPS)
 114