We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da9b8f3 commit deaabf3Copy full SHA for deaabf3
tools/export/uvision/__init__.py
@@ -166,7 +166,7 @@ def format_flags(self):
166
# Flag is invalid if set in template
167
# Optimizations are also set in the template
168
invalid_flag = lambda x: x in template or re.match("-O(\d|time)", x)
169
- flags['c_flags'] = [flag for flag in c_flags if not invalid_flag(flag)]
+ flags['c_flags'] = [flag.replace('"','\\"') for flag in c_flags if not invalid_flag(flag)]
170
flags['c_flags'] = " ".join(flags['c_flags'])
171
return flags
172
0 commit comments