From 8c832ac66fcea2fb3c98b12901de9199d31d4c60 Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Mon, 14 Oct 2024 23:09:51 +0000 Subject: [PATCH] py311: Re-enable lto --- spk/python311/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spk/python311/Makefile b/spk/python311/Makefile index 32488bc30eae..61a902c88d24 100644 --- a/spk/python311/Makefile +++ b/spk/python311/Makefile @@ -23,6 +23,9 @@ CHANGELOG = "1. Update to Python 3.11.10
2. Update all mandatory wheels" HOMEPAGE = https://www.python.org LICENSE = PSF +# Force compiler LTO optimizations +ENV += PYTHON_OPTIMIZE=1 + # Force building pure-python wheels WHEELS_PURE_PYTHON_PACKAGING_ENABLE = 1 WHEELS = src/requirements-pure.txt