修改common下的sconscript脚本文件,增加unistd.c排除条件

This commit is contained in:
mysterywolf
2020-09-08 10:52:02 +08:00
parent 5eccf51b61
commit f021cb982a
2 changed files with 5 additions and 5 deletions
@@ -13,6 +13,9 @@ else:
if GetDepend('RT_LIBC_USING_TIME'):
src += ['time.c']
if GetDepend('RT_USING_POSIX') == False:
SrcRemove(src, ['unistd.c'])
group = DefineGroup('libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')