p/f/prefix/s/make.defaults: disable getentropy for <linux-3.17.
authorBenda Xu <heroxbd@gentoo.org>
Tue, 22 Aug 2017 11:47:05 +0000 (20:47 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Tue, 22 Aug 2017 11:58:48 +0000 (20:58 +0900)
  It is first introduced by glibc-2.25.

Reference: http://bugs.python.org/issue31255

profiles/features/prefix/standalone/make.defaults [new file with mode: 0644]

diff --git a/profiles/features/prefix/standalone/make.defaults b/profiles/features/prefix/standalone/make.defaults
new file mode 100644 (file)
index 0000000..0e1661e
--- /dev/null
@@ -0,0 +1,7 @@
+# getentropy is available from linux-3.17 and glibc-2.25
+# disable it unconditionally for Python-3.4 and 2.7.
+# http://bugs.python.org/issue31255
+# remove when python-3.4 goes end-of-life on 2019-03-16,
+# and when python-2.7 goes end-of-life on 2020-01-01.
+# https://docs.python.org/devguide/#status-of-python-branches
+ac_cv_func_getentropy=no