Skip to content

Commit 6ab56d9

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Merge branch 'quote-includes-2' of ssh://github.com/moonchen/mbed-os into rollup
2 parents f7087b3 + 2c77c1e commit 6ab56d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def get_inc_file(self, includes):
331331
"""Generate a via file for all includes.
332332
ARM, GCC, IAR cross compatible
333333
"""
334-
cmd_list = ("-I{}".format(c.replace("\\", "/")) for c in includes if c)
334+
cmd_list = ("\"-I{}\"".format(c.replace("\\", "/")) for c in includes if c)
335335
if self.CHROOT:
336336
cmd_list = (c.replace(self.CHROOT, '') for c in cmd_list)
337337
return self.make_option_file(list(cmd_list), naming=".includes_{}.txt")

0 commit comments

Comments
 (0)