未验证 提交 084bb1c9 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

[libc] improve sconscript (#5789)

上级 1aab3607
......@@ -6,11 +6,11 @@ Import('rtconfig')
src = []
cwd = GetCurrentDir()
group = []
LIBS = ['m'] # link libm
LIBS = []
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
LIBS += ['c'] # link libc
LIBS += ['c', 'm'] # link libc and libm
src += Glob('*.c')
#report newlib version
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册