This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch releases/13.0
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/releases/13.0 by this push:
new 23f2cde79 interpreters/python: Optmize Python for size
23f2cde79 is described below
commit 23f2cde7918c582f8e09ff729c8a3ade339b98f6
Author: Tiago Medicci <[email protected]>
AuthorDate: Thu Jun 11 09:32:38 2026 -0300
interpreters/python: Optmize Python for size
This aims to reduce Python's library size.
Signed-off-by: Tiago Medicci <[email protected]>
---
interpreters/python/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interpreters/python/Makefile b/interpreters/python/Makefile
index 1b1392cac..e76699bee 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} \