mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 03:23:32 +08:00
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.
|
||||
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 = ''
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user