message: properly disable -fstack-usage
diff: @@ -49,8 +49,12 @@ end
  function GCCToolchain(prefix, builddir, compiler_flags, linker_flags)
  -- add some default compiler flags
  - -- This gives a warning for some functions containing inline assembly (prvPortStartFirstTask in particular)
  - --compiler_flags += '-fstack-usage'
  + -- -fstack-usage gives a warning for some functions containing inline assembly (prvPortStartFirstTask in particular)
  + -- so for now we just disable it
  + calculate_stack_usage = false
  + if calculate_stack_usage then
  + compiler_flags += '-fstack-usage'
  + end
  gcc_generic_compiler = function(compiler, compiler_flags, gen_su_file, src, flags, includes, outputs)
  -- convert include list to flags
  @@ -80,8 +84,8 @@ function GCCToolchain(prefix, builddir, compiler_flags, linker_flags)
  }
  end
  return {
  - compile_c = function(src, flags, includes, outputs) gcc_generic_compiler(prefix..'gcc -std=c99', compiler_flags, true, src, flags, includes, outputs) end,
  - compile_cpp = function(src, flags, includes, outputs) gcc_generic_compiler(prefix..'g++ -std=c++14', compiler_flags, true, src, flags, includes, outputs) end,
  + compile_c = function(src, flags, includes, outputs) gcc_generic_compiler(prefix..'gcc -std=c99', compiler_flags, calculate_stack_usage, src, flags, includes, outputs) end,
  + compile_cpp = function(src, flags, includes, outputs) gcc_generic_compiler(prefix..'g++ -std=c++14', compiler_flags, calculate_stack_usage, src, flags, includes, outputs) end,
  compile_asm = function(src, flags, includes, outputs) gcc_generic_compiler(prefix..'gcc -x assembler-with-cpp', compiler_flags, false, src, flags, includes, outputs) end,
  link = function(objects, output_name)
  output_name = builddir..'/'..output_name
  