Extend a local version of the asm cmd list

I was extending an object-local one instead of a call-local one
pull/6713/head
Jimmy Brisson 2018-04-30 09:34:32 -05:00
parent beb6d7802a
commit b6b6866d38
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class ARM(mbedToolchain):
tempfile = join(dir, basename(object) + '.E.s')
# Build preprocess assemble command
cmd_pre = self.asm
cmd_pre = copy(self.asm)
cmd_pre.extend(self.get_compile_options(
self.get_symbols(True), includes, True))
cmd_pre.extend(["-E", "-o", tempfile, source])