summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-10-26 00:51:32 -0400
committerMeco Man <[email protected]>2021-10-26 23:09:54 -0400
commita9910a780edc43df6b64bcd13c37785a15ec3428 (patch)
tree0402e433f252c5ded3472deb266616ee7a47e90f /components/libc/compilers/common/SConscript
parent50bb6e33d13237f71812e81a6a13ba5ba0693c8f (diff)
[posix][libc] 优化libc中posix结构
Diffstat (limited to 'components/libc/compilers/common/SConscript')
-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 b7a6626a36..1c1d645564 100644
--- a/components/libc/compilers/common/SConscript
+++ b/components/libc/compilers/common/SConscript
@@ -11,7 +11,7 @@ CPPDEFINES = []
if GetDepend('RT_USING_LIBC'):
src += Glob('*.c')
elif GetDepend('RT_LIBC_USING_TIME'):
- src += Glob('time.c')
+ src += ['time.c']
if rtconfig.CROSS_TOOL == 'keil':
CPPDEFINES += ['__CLK_TCK=RT_TICK_PER_SECOND']