修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容

This commit is contained in:
mysterywolf
2020-09-08 16:29:47 +08:00
parent 4e58b995df
commit 4305a678a3
3 changed files with 4 additions and 10 deletions

View File

@@ -16,7 +16,7 @@ else:
if GetDepend('RT_USING_POSIX') == False:
SrcRemove(src, ['unistd.c'])
if not GetDepend('RT_USING_MINILIBC') and GetDepend('RT_USING_LIBC'):
if not GetDepend('RT_USING_MINILIBC') and (GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME')):
group = DefineGroup('libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')