修正无法生成cbp的问题

This commit is contained in:
heyuanjie 2018-05-24 09:54:03 +08:00
parent da6f9e2dc0
commit 4ec3552c0f
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ def CBProject(target, script, program):
for macro in building.Env.get('CPPDEFINES', []):
Add = SubElement(elem, 'Add')
Add.set('option', "-D"+macro)
Add.set('option', "-D"+macro[0])
# write link flags
'''