mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
450701f211
commit
660b221285
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue