From 2684db62a188814f6d452a1635f57ae05f5e6d3d 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 1b1392cac88..e76699bee7b 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} \