summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-2.7.18_p16-r2.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-02-25 07:52:09 +0000
committerSam James <sam@gentoo.org>2025-02-25 07:52:29 +0000
commita79c73ae963326628e35a893c93beb4f90cd46e2 (patch)
tree7eeb5d4349b9a58e2f80ed1c180e85846a21b391 /dev-lang/python/python-2.7.18_p16-r2.ebuild
parentf8e9125cd3a4caae144f8d5d30ebe4884f31011f (diff)
downloadgentoo-a79c73ae963326628e35a893c93beb4f90cd46e2.tar.gz
gentoo-a79c73ae963326628e35a893c93beb4f90cd46e2.tar.bz2
gentoo-a79c73ae963326628e35a893c93beb4f90cd46e2.zip
dev-lang/python: build 2.7 w/ -std=gnu17
Not worth digging up which commit fixed this. Closes: https://bugs.gentoo.org/945717 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-2.7.18_p16-r2.ebuild')
-rw-r--r--dev-lang/python/python-2.7.18_p16-r2.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-lang/python/python-2.7.18_p16-r2.ebuild b/dev-lang/python/python-2.7.18_p16-r2.ebuild
index ea6bf5435371..c0e5d15a2c8a 100644
--- a/dev-lang/python/python-2.7.18_p16-r2.ebuild
+++ b/dev-lang/python/python-2.7.18_p16-r2.ebuild
@@ -150,6 +150,9 @@ src_configure() {
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
fi
+ # bug #945717
+ append-flags -std=gnu17
+
append-flags -fwrapv
filter-flags -malign-double