diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-09-02 19:40:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-09-02 23:37:44 +0200 |
commit | 232a45d02e526ac4bdb4c5806432ff4b58d8cdc7 (patch) | |
tree | d157a03c4b57183e5c59806602d07b29c6f2ec2a /bin/dispatch-conf | |
parent | config/env_blacklist: add DOCS (bug 627106) (diff) | |
download | portage-232a45d02e526ac4bdb4c5806432ff4b58d8cdc7.tar.gz portage-232a45d02e526ac4bdb4c5806432ff4b58d8cdc7.tar.bz2 portage-232a45d02e526ac4bdb4c5806432ff4b58d8cdc7.zip |
Do not enable optimizations by default to work-around pycparser issue
dev-python/pycparser-2.18+ exposes a design flaw in dev-python/ply that
makes it unable to work with -OO code. Given that Gentoo compiles its
Python packages with -OO and both -O and -OO use the same files for
Python < 3.5, using -O in Portage implicitly means -OO for those
implementations.
Remove the optimizations from Portage shebangs to prevent triggering the
issue until we find a proper solution for it.
Bug: https://bugs.gentoo.org/628386
Reviewed-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin/dispatch-conf')
-rwxr-xr-x | bin/dispatch-conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf index 099c37f57..49e7774bf 100755 --- a/bin/dispatch-conf +++ b/bin/dispatch-conf @@ -1,4 +1,4 @@ -#!/usr/bin/python -bO +#!/usr/bin/python -b # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 |