Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1799)

Unified Diff: ports/python_static/config.site

Issue 138913004: Build system for statically-linked Python. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Responding to comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698