Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r1450:3e29d321b1f1
Date: 2014-01-07 09:57 +0100
http://bitbucket.org/cffi/cffi/changeset/3e29d321b1f1/

Log:    Issue 123: force __thread off on OS/X, for now.

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -42,6 +42,11 @@
             resultlist[:] = res
 
 def ask_supports_thread():
+    if sys.platform == "darwin":
+        sys.stderr.write("OS/X: confusion between 'cc' versus 'gcc'")
+        sys.stderr.write(" (see issue 123)\n")
+        sys.stderr.write("will not use '__thread' in the C code\n")
+        return
     import distutils.errors
     from distutils.ccompiler import new_compiler
     compiler = new_compiler(force=1)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to