ARM - pass linker flags along to the linker

On the ARM toolchain linker flags specified in the build profile do
not get passed to armlink. This patch adds these flags to the
arguments sent to armlink.
pull/3677/head
Russ Butler 2017-01-30 17:12:35 -06:00
parent 450701f211
commit 660b221285
1 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,8 @@ class ARM(mbedToolchain):
else:
args = ["-o", output, "--info=totals", "--map", "--list=%s" % map_file]
args.extend(self.flags['ld'])
if mem_map:
args.extend(["--scatter", mem_map])