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


  60 
  61 #
  62 #       Overrides.
  63 #
  64 DEBUG_FLGS      =
  65 DEBUG_DEFS      += $(DEBUG_FLGS)
  66 
  67 #
  68 #
  69 # Depends on ACPI CA interpreter
  70 #
  71 LDFLAGS         += -dy -N misc/acpica
  72 
  73 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  75 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77 
  78 CERRWARN        += -_gcc=-Wno-type-limits
  79 CERRWARN        += -_gcc=-Wno-parentheses
  80 CERRWARN        += -_gcc=-Wno-uninitialized
  81 CERRWARN        += -_gcc=-Wno-empty-body
  82 CERRWARN        += -_gcc=-Wno-unused-function
  83 
  84 # needs work
  85 SMATCH=off
  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 


  60 
  61 #
  62 #       Overrides.
  63 #
  64 DEBUG_FLGS      =
  65 DEBUG_DEFS      += $(DEBUG_FLGS)
  66 
  67 #
  68 #
  69 # Depends on ACPI CA interpreter
  70 #
  71 LDFLAGS         += -dy -N misc/acpica
  72 
  73 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  75 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77 
  78 CERRWARN        += -_gcc=-Wno-type-limits
  79 CERRWARN        += -_gcc=-Wno-parentheses
  80 CERRWARN        += $(CNOWARN_UNINIT)
  81 CERRWARN        += -_gcc=-Wno-empty-body
  82 CERRWARN        += -_gcc=-Wno-unused-function
  83 
  84 # needs work
  85 SMATCH=off
  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