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 a6c85ee commit c8f1e1fCopy full SHA for c8f1e1f
tools/export/uvision/__init__.py
@@ -204,7 +204,8 @@ def is_define(s):
204
)
205
flags['c_flags'] += " "
206
flags['c_flags'] += " ".join(config_option)
207
- flags['c_defines'] = " ".join(f[2:] for f in c_flags if is_define(f))
+ flags['c_defines'] = " ".join(f[2:].replace('"', '\\"')
208
+ for f in c_flags if is_define(f))
209
flags['ld_flags'] = " ".join(set(flags['ld_flags']))
210
return flags
211
0 commit comments