SConscript: fix LINKFLAGS over-written

Fix a regression on 62a0172d11.
This commit is contained in:
Grissiom 2015-04-14 18:34:09 +08:00
parent 54f8b19e12
commit b3214ed45f
1 changed files with 2 additions and 2 deletions

View File

@ -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 = ''