From 200d90e9c009667b145e6e8b23747f4df64b372b Mon Sep 17 00:00:00 2001 From: Tiago Medicci Date: Thu, 11 Jun 2026 09:32:38 -0300 Subject: [PATCH] interpreters/python: Optmize Python for size This aims to reduce Python's library size. Signed-off-by: Tiago Medicci --- interpreters/python/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreters/python/Makefile b/interpreters/python/Makefile index 36aaed3ab97..bda25793230 100644 --- a/interpreters/python/Makefile +++ b/interpreters/python/Makefile @@ -163,7 +163,7 @@ $(TARGETBUILD)/Makefile: $(HOSTPYTHON) $(CONFIG_SITE) $(SETUP_LOCAL) AR="$(AR)" \ ARFLAGS=" " \ MACHDEP="$(MACHDEP)" \ - OPT="-O3" \ + OPT="-Os" \ CONFIG_SITE="$(CONFIG_SITE)" \ $(CPYTHON_PATH)/configure \ --prefix=${TARGETINSTALL} \