summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 0adecb7b57e..1a605a1921c 100644
--- a/libgo/runtime/proc.c
+++ b/libgo/runtime/proc.c
@@ -1122,6 +1122,7 @@ runtime_newm(void)
stacksize = PTHREAD_STACK_MIN;
+#if 0
#ifdef HAVE__DL_GET_TLS_STATIC_INFO
{
/* On GNU/Linux the static TLS size is taken out of
@@ -1142,6 +1143,7 @@ runtime_newm(void)
stacksize += tlssize;
}
#endif
+#endif
if(pthread_attr_setstacksize(&attr, stacksize) != 0)
runtime_throw("pthread_attr_setstacksize");