From a79c73ae963326628e35a893c93beb4f90cd46e2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 25 Feb 2025 07:52:09 +0000 Subject: 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 --- dev-lang/python/python-2.7.18_p16-r2.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dev-lang/python/python-2.7.18_p16-r2.ebuild') 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 -- cgit v1.2.3