Skip to content

Commit b6b6866

Browse files
committed
Extend a local version of the asm cmd list
I was extending an object-local one instead of a call-local one
1 parent beb6d78 commit b6b6866

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
@@ -157,7 +157,7 @@ def assemble(self, source, object, includes):
157157
tempfile = join(dir, basename(object) + '.E.s')
158158

159159
# Build preprocess assemble command
160-
cmd_pre = self.asm
160+
cmd_pre = copy(self.asm)
161161
cmd_pre.extend(self.get_compile_options(
162162
self.get_symbols(True), includes, True))
163163
cmd_pre.extend(["-E", "-o", tempfile, source])

0 commit comments

Comments
 (0)