提交 f435a214 编写于 作者: G Grissiom 提交者: ardafu

SConscript: fix LINKFLAGS over-written

Fix a regression on 62a0172d.
上级 81d7ef1e
......@@ -9,9 +9,9 @@ if rtconfig.CROSS_TOOL == 'keil':
# add more link flags for module and components_init.
LINKFLAGS = ''
if GetDepend('RT_USING_MODULE'):
LINKFLAGS = ' --keep *.o(RTMSymTab) '
LINKFLAGS += ' --keep *.o(RTMSymTab) '
if GetDepend('RT_USING_COMPONENTS_INIT'):
LINKFLAGS = ' --keep *.o(.rti_fn.*) '
LINKFLAGS += ' --keep *.o(.rti_fn.*) '
else:
LINKFLAGS = ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册