summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index ccdf3a9fdc..9fa00b01f0 100644
--- a/wscript
+++ b/wscript
@@ -186,6 +186,10 @@ main_dependencies = [
'desc': 'C11 TLS support',
'func': check_statement('stddef.h', 'static _Thread_local int x = 0'),
}, {
+ 'name': 'gcc-tls',
+ 'desc': 'GCC TLS support',
+ 'func': check_statement('stddef.h', 'static __thread int x = 0'),
+ }, {
'name': 'librt',
'desc': 'linking with -lrt',
'deps': [ 'pthreads' ],