From f435a214d4617a9acc98033c571c5dc14dcf6b97 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Tue, 14 Apr 2015 18:34:09 +0800 Subject: [PATCH] SConscript: fix LINKFLAGS over-written Fix a regression on 62a0172d11e5592. --- src/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SConscript b/src/SConscript index 0242d4634c..953ea5060d 100644 --- a/src/SConscript +++ b/src/SConscript @@ -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 = ''