Skip to content

Commit 0947db6

Browse files
committed
add quotation marks for compiler path
1 parent 3759d03 commit 0947db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/gnuarmeclipse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def create_jinja_ctx(self):
244244
opts['ld']['system_libraries'] = self.system_libraries
245245
opts['ld']['script'] = join(id.capitalize(),
246246
"linker-script-%s.ld" % id)
247-
opts['cpp_cmd'] = " ".join(toolchain.preproc)
247+
opts['cpp_cmd'] = "".join('"{}"'.format(toolchain.preproc[0])) + " " + " ".join(toolchain.preproc[1:])
248248

249249
# Unique IDs used in multiple places.
250250
# Those used only once are implemented with {{u.id}}.

0 commit comments

Comments
 (0)