Skip to content

Commit d163883

Browse files
committed
Fix build of library archive with Arm Compiler 6
The 'archive' method of the toolchain class 'ARM' expects that self.ar is a string, but the constructor of the class 'ARMC6' initializes it with a list. This patch fixes the issue.
1 parent 60b5547 commit d163883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def __init__(self, target, *args, **kwargs):
454454
self.flags['common'] + self.flags['cxx'])
455455
self.asm = [join(TOOLCHAIN_PATHS["ARMC6"], "armasm")] + self.flags['asm']
456456
self.ld = [join(TOOLCHAIN_PATHS["ARMC6"], "armlink")] + self.flags['ld']
457-
self.ar = [join(TOOLCHAIN_PATHS["ARMC6"], "armar")]
457+
self.ar = join(TOOLCHAIN_PATHS["ARMC6"], "armar")
458458
self.elf2bin = join(TOOLCHAIN_PATHS["ARMC6"], "fromelf")
459459

460460
def _get_toolchain_labels(self):

0 commit comments

Comments
 (0)