Index: ports/python-static/config.site |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/ports/python-static/config.site |
@@ -0,0 +1,10 @@ |
+# Python's configure can't detect these two options when cross |
+# compiling so we pre-seed it with the answers. |
+ac_cv_file__dev_ptmx=no |
+ac_cv_file__dev_ptc=no |
+ |
+# Force python's configure to think that _POSIX_THREADS is defined |
+# in unistd.h even though under newlib it is not. |
+# TODO(sbc): Remove this once newlib is fixed: |
+# https://code.google.com/p/nativeclient/issues/detail?id=3551 |
+ac_cv_pthread=yes |