IAR: Enable inline linker optimizations for develop/release profile

- add --inline option to linker flags
  Some routines are so small that they can fit in the space of the
  instruction that calls the routine. Use this option to make the
  linker replace the call of a routine with the body of the routine,
  where applicable.
pull/11865/head
Maciej Bocianski 2019-11-14 10:35:12 +01:00
parent 09c24507c3
commit 683ba969b5
2 changed files with 2 additions and 2 deletions

View File

@ -55,6 +55,6 @@
"asm": [],
"c": ["--vla", "--diag_suppress=Pe546"],
"cxx": ["--guard_calls", "--no_static_destruction"],
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
"ld": ["--skip_dynamic_initialization", "--threaded_lib", "--inline"]
}
}

View File

@ -53,6 +53,6 @@
"asm": [],
"c": ["--vla", "--diag_suppress=Pe546"],
"cxx": ["--guard_calls", "--no_static_destruction"],
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
"ld": ["--skip_dynamic_initialization", "--threaded_lib", "--inline"]
}
}