mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12526 from fkjagodzinski/fix-gcc_lto_toolchain_py3
GCC: Fix the toolchain LTO workaround for Python 3pull/12545/head
commit
d6df32d609
|
@ -412,7 +412,7 @@ class GCC(mbedToolchain):
|
|||
stdout, stderr, rc = run_cmd(cmd, work_dir=getcwd(), chroot=self.CHROOT)
|
||||
if rc != 0:
|
||||
return False
|
||||
match = self.DWARF_PRODUCER_RE.search(stdout.encode('utf-8'))
|
||||
match = self.DWARF_PRODUCER_RE.search(stdout)
|
||||
if match:
|
||||
dw_producer = match.group('producer')
|
||||
return 'GNU AS' in dw_producer
|
||||
|
|
Loading…
Reference in New Issue