Merge branch 'quote-includes-2' of ssh://github.com/moonchen/mbed-os into rollup

pull/8694/head
Cruz Monrreal II 2018-11-09 11:40:32 -06:00
commit 6ab56d978e
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ class mbedToolchain:
"""Generate a via file for all includes.
ARM, GCC, IAR cross compatible
"""
cmd_list = ("-I{}".format(c.replace("\\", "/")) for c in includes if c)
cmd_list = ("\"-I{}\"".format(c.replace("\\", "/")) for c in includes if c)
if self.CHROOT:
cmd_list = (c.replace(self.CHROOT, '') for c in cmd_list)
return self.make_option_file(list(cmd_list), naming=".includes_{}.txt")