mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/8840/head
parent
60b5547b65
commit
d16388354a
|
@ -454,7 +454,7 @@ class ARMC6(ARM_STD):
|
||||||
self.flags['common'] + self.flags['cxx'])
|
self.flags['common'] + self.flags['cxx'])
|
||||||
self.asm = [join(TOOLCHAIN_PATHS["ARMC6"], "armasm")] + self.flags['asm']
|
self.asm = [join(TOOLCHAIN_PATHS["ARMC6"], "armasm")] + self.flags['asm']
|
||||||
self.ld = [join(TOOLCHAIN_PATHS["ARMC6"], "armlink")] + self.flags['ld']
|
self.ld = [join(TOOLCHAIN_PATHS["ARMC6"], "armlink")] + self.flags['ld']
|
||||||
self.ar = [join(TOOLCHAIN_PATHS["ARMC6"], "armar")]
|
self.ar = join(TOOLCHAIN_PATHS["ARMC6"], "armar")
|
||||||
self.elf2bin = join(TOOLCHAIN_PATHS["ARMC6"], "fromelf")
|
self.elf2bin = join(TOOLCHAIN_PATHS["ARMC6"], "fromelf")
|
||||||
|
|
||||||
def _get_toolchain_labels(self):
|
def _get_toolchain_labels(self):
|
||||||
|
|
Loading…
Reference in New Issue