summaryrefslogtreecommitdiff
path: root/components/libc/compilers/newlib/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-09-26 06:44:39 +0800
committerGitHub <[email protected]>2021-09-26 06:44:39 +0800
commit66ad092f066db6251c86aa994620c118474aa7aa (patch)
treebe67408a9aac378a5fe180b26a5c7798410a2acb /components/libc/compilers/newlib/SConscript
parentf4412c3abc6de3018f9f2358c706e6d2fd4e5114 (diff)
parenta0e800617cb9b2e76ec1807a24af189c42ab456f (diff)
Merge pull request #5100 from mysterywolf/libcarrary
[libc][newlib] 优化syscall 重构_libc_init_array 防止gcc下芯片无法启动
Diffstat (limited to 'components/libc/compilers/newlib/SConscript')
-rw-r--r--components/libc/compilers/newlib/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript
index 542cdecd40..cef546e17c 100644
--- a/components/libc/compilers/newlib/SConscript
+++ b/components/libc/compilers/newlib/SConscript
@@ -18,11 +18,10 @@ if rtconfig.PLATFORM == 'gcc':
LIBS += ['c', 'm']
src += Glob('*.c')
- SrcRemove(src, ['minilib.c'])
if GetDepend('RT_USING_MODULE') == False:
SrcRemove(src, ['libc_syms.c'])
else:
- src += ['minilib.c']
+ src += ['syscalls.c']
group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)