This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new b523f0e51 interpreters/python: Optmize Python for size
b523f0e51 is described below

commit b523f0e51342689b8f3db785c074c47f6c6ee9ff
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 36aaed3ab..bda257932 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} \

Reply via email to