SConscript: fix LINKFLAGS over-written
Fix a regression on 62a0172d11e5592.
This commit is contained in:
parent
81d7ef1e9f
commit
f435a214d4
@ -9,9 +9,9 @@ if rtconfig.CROSS_TOOL == 'keil':
|
|||||||
# add more link flags for module and components_init.
|
# add more link flags for module and components_init.
|
||||||
LINKFLAGS = ''
|
LINKFLAGS = ''
|
||||||
if GetDepend('RT_USING_MODULE'):
|
if GetDepend('RT_USING_MODULE'):
|
||||||
LINKFLAGS = ' --keep *.o(RTMSymTab) '
|
LINKFLAGS += ' --keep *.o(RTMSymTab) '
|
||||||
if GetDepend('RT_USING_COMPONENTS_INIT'):
|
if GetDepend('RT_USING_COMPONENTS_INIT'):
|
||||||
LINKFLAGS = ' --keep *.o(.rti_fn.*) '
|
LINKFLAGS += ' --keep *.o(.rti_fn.*) '
|
||||||
else:
|
else:
|
||||||
LINKFLAGS = ''
|
LINKFLAGS = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user