Skip to content

Commit 65956d1

Browse files
authored
Merge pull request #3677 from c1728p9/armcc_linker_flags
ARM - pass linker flags along to the linker
2 parents 3a90cde + 660b221 commit 65956d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/toolchains/arm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ def link(self, output, objects, libraries, lib_dirs, mem_map):
179179
else:
180180
args = ["-o", output, "--info=totals", "--map", "--list=%s" % map_file]
181181

182+
args.extend(self.flags['ld'])
183+
182184
if mem_map:
183185
args.extend(["--scatter", mem_map])
184186

0 commit comments

Comments
 (0)