diff options
| author | heyuanjie <[email protected]> | 2018-05-24 09:54:03 +0800 |
|---|---|---|
| committer | heyuanjie <[email protected]> | 2018-05-24 09:54:03 +0800 |
| commit | 4ec3552c0f7b162d616e846914dd29cfca8a87dc (patch) | |
| tree | f2a912ee9c32e7a02df4b3574ca2c5ab531a5742 /tools/codeblocks.py | |
| parent | da6f9e2dc0222839ba5fa06463d5c03490f2eeab (diff) | |
修正无法生成cbp的问题
Diffstat (limited to 'tools/codeblocks.py')
| -rw-r--r-- | tools/codeblocks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/codeblocks.py b/tools/codeblocks.py index 7db82b49e9..6bcca474c4 100644 --- a/tools/codeblocks.py +++ b/tools/codeblocks.py @@ -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 ''' |
