summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-08 16:29:47 +0800
committermysterywolf <[email protected]>2020-09-08 16:29:47 +0800
commit4305a678a38d65712d739f0d79bf55dc05e33073 (patch)
treecdddea693076dcdb722feb6e3bf7a52bc5629832 /components/libc
parent4e58b995df732861a1d7a43fd575d737433721bf (diff)
修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/compilers/common/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript
index a5f4a3fda6..18ff51d027 100644
--- a/components/libc/compilers/common/SConscript
+++ b/components/libc/compilers/common/SConscript
@@ -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')