summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.6.14.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/python/python-3.6.14.ebuild')
-rw-r--r--dev-lang/python/python-3.6.14.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.6.14.ebuild b/dev-lang/python/python-3.6.14.ebuild
index a126a676d612..fa86e15c141f 100644
--- a/dev-lang/python/python-3.6.14.ebuild
+++ b/dev-lang/python/python-3.6.14.ebuild
@@ -181,6 +181,9 @@ src_compile() {
# Ensure sed works as expected
# https://bugs.gentoo.org/594768
local -x LC_ALL=C
+ # Prevent using distutils bundled by setuptools.
+ # https://bugs.gentoo.org/823728
+ export SETUPTOOLS_USE_DISTUTILS=stdlib
emake CPPFLAGS= CFLAGS= LDFLAGS=