Skip to content

Commit 6130ba2

Browse files
committed
更新脚本
1 parent 1d4768b commit 6130ba2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

components/libc/cplusplus/SConscript

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ from building import *
44
Import('rtconfig')
55

66
cwd = GetCurrentDir()
7-
src = []
7+
src = Split('''
8+
cxx_crt_init.c
9+
''')
810
CPPPATH = [cwd]
911

1012
if GetDepend('RT_USING_CPP_MULTITHREAD'):
11-
src = Glob('*.cpp') + Glob('*.c')
13+
src += Glob('*.cpp')
1214
if GetDepend('RT_USING_CPLUSPLUS11'):
1315
src += Glob('cpp11/*.cpp') + Glob('cpp11/*.c')
1416
if rtconfig.PLATFORM in ['armclang']:

0 commit comments

Comments
 (0)