summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-08-22 20:47:05 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-08-22 20:58:48 +0900
commit6c8e2396d9cf4fe13057741f5bd1b9989eeeb746 (patch)
tree12b13709354fc09a5a8d08f04212c613a8c1d647
parentdev-libs/expat: fix aclocal for systems with crippled /bin/sh (diff)
downloadgentoo-6c8e2396d9cf4fe13057741f5bd1b9989eeeb746.tar.gz
gentoo-6c8e2396d9cf4fe13057741f5bd1b9989eeeb746.tar.bz2
gentoo-6c8e2396d9cf4fe13057741f5bd1b9989eeeb746.zip
p/f/prefix/s/make.defaults: disable getentropy for <linux-3.17.
It is first introduced by glibc-2.25. Reference: http://bugs.python.org/issue31255
-rw-r--r--profiles/features/prefix/standalone/make.defaults7
1 files changed, 7 insertions, 0 deletions
diff --git a/profiles/features/prefix/standalone/make.defaults b/profiles/features/prefix/standalone/make.defaults
new file mode 100644
index 000000000000..0e1661e1014d
--- /dev/null
+++ b/profiles/features/prefix/standalone/make.defaults
@@ -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