summaryrefslogtreecommitdiff
path: root/components/libc/posix/tls/SConscript
diff options
context:
space:
mode:
authoratwww <[email protected]>2024-05-12 01:50:02 +0800
committerGitHub <[email protected]>2024-05-11 13:50:02 -0400
commitb421b4e1f4502c4490d9fe97cb2ec629bc670f8b (patch)
treea4dde277307c4b8c6b9f7cf0aa6eb04636f5e974 /components/libc/posix/tls/SConscript
parentf55187f83023b05a59e3e31e35422acbc5cbceea (diff)
修复C++11 thread_local对象析构函数与实际内存释放动作顺序相反问题
Diffstat (limited to 'components/libc/posix/tls/SConscript')
-rw-r--r--components/libc/posix/tls/SConscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/libc/posix/tls/SConscript b/components/libc/posix/tls/SConscript
new file mode 100644
index 0000000000..adcd07ee49
--- /dev/null
+++ b/components/libc/posix/tls/SConscript
@@ -0,0 +1,9 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd]
+
+group = DefineGroup('POSIX', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
+
+Return('group')