summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/cygwin.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh
index 20e0e58821..40edf5f6b1 100644
--- a/hints/cygwin.sh
+++ b/hints/cygwin.sh
@@ -80,3 +80,9 @@ lddlflags="$lddlflags $ldflags"
#ldflags="$ldflags -s"
#ccdlflags="$ccdlflags -s"
#lddlflags="$lddlflags -s"
+
+# Seems that exporting _Thread_local doesn't work on cygwin. This 6 year old
+# gcc bug suggests that maybe the problem really is binutils, but either way
+# it still doesn't work, despite our probes looking good:
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697
+d_thread_local=undef