From 4ec3552c0f7b162d616e846914dd29cfca8a87dc Mon Sep 17 00:00:00 2001 From: heyuanjie <943313837@qq.com> Date: Thu, 24 May 2018 09:54:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=97=A0=E6=B3=95=E7=94=9F?= =?UTF-8?q?=E6=88=90cbp=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/codeblocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/codeblocks.py b/tools/codeblocks.py index 7db82b49e..6bcca474c 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 ''' -- GitLab