Merge pull request #3474 from Guozhanxin/rtt_master
修复 scons --target=eclipse 时,部分带值宏出错的问题
This commit is contained in:
commit
d1ba07a47b
|
@ -228,7 +228,7 @@ def HandleToolOption(tools, env, project, reset):
|
|||
with open('rtconfig_preinc.h', mode = 'w+') as f:
|
||||
f.write(file_header)
|
||||
for cppdef in CPPDEFINES:
|
||||
f.write("#define " + cppdef + '\n')
|
||||
f.write("#define " + cppdef.replace('=', ' ') + '\n')
|
||||
f.write(file_tail)
|
||||
# change the c.compiler.include.files
|
||||
files = option.findall('listOptionValue')
|
||||
|
|
Loading…
Reference in New Issue