diff options
author | Joonas Niilola <juippis@gentoo.org> | 2020-01-13 20:06:41 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-01-13 20:08:37 +0200 |
commit | 7e29084f0f0806b329bb65eea532f269d679122f (patch) | |
tree | 37c1bd5532286ce68b5b30103278fa7d1818fcec /dev-python/python-efl | |
parent | virtualenv-clone: 0.5.3 + EAPI 7 + py38 (diff) | |
download | gentoo-7e29084f0f0806b329bb65eea532f269d679122f.tar.gz gentoo-7e29084f0f0806b329bb65eea532f269d679122f.tar.bz2 gentoo-7e29084f0f0806b329bb65eea532f269d679122f.zip |
dev-python/python-efl: disable optimization on x86
Bug: https://bugs.gentoo.org/704260
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/python-efl')
-rw-r--r-- | dev-python/python-efl/python-efl-1.23.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/python-efl/python-efl-1.23.0.ebuild b/dev-python/python-efl/python-efl-1.23.0.ebuild index 13affc414b80..c7e69b15293c 100644 --- a/dev-python/python-efl/python-efl-1.23.0.ebuild +++ b/dev-python/python-efl/python-efl-1.23.0.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..7} ) -inherit distutils-r1 +inherit distutils-r1 flag-o-matic DESCRIPTION="Python bindings for Enlightenment Foundation Libraries" HOMEPAGE="https://phab.enlightenment.org/w/projects/python_bindings_for_efl/" @@ -46,6 +46,12 @@ src_prepare() { # Make tests verbose sed -i 's:verbosity=1:verbosity=3:' tests/00_run_all_tests.py || die + + # Disable any optimization on x86, #704260 + if use x86; then + filter-flags -O? + append-cflags -O0 + fi } python_compile_all() { |