This is an automated email from the ASF dual-hosted git repository. xiaoxiang 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 d63bb6d81 interpreters/python: Do not link to standard libraries d63bb6d81 is described below commit d63bb6d81dc88ab50ce0fb8e6ee20a6bd08faebf Author: Tiago Medicci <tiago.medi...@espressif.com> AuthorDate: Fri May 9 17:15:50 2025 -0300 interpreters/python: Do not link to standard libraries This commit prevents Python from linking to standard libraries. This is needed because Python's `configure` script tests for a set of available functions that are provided by NuttX (instead of the toolchain) and not having `-nostdlib` set may give wrong results. --- interpreters/python/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreters/python/Makefile b/interpreters/python/Makefile index af5c8b89f..295a4bb61 100644 --- a/interpreters/python/Makefile +++ b/interpreters/python/Makefile @@ -56,7 +56,7 @@ CFLAGS += -Wno-shadow -Wno-undef -Wno-format -Wno-builtin-macro-redefined CFLAGS += -Wno-type-limits -Wno-implicit-fallthrough -Wno-char-subscripts CFLAGS += -Wno-sign-compare -Wno-unused-const-variable -Wno-unused-function CFLAGS += -Wno-unused-variable -Wno-overflow -Wno-unused-but-set-variable -CFLAGS += -Wno-strict-prototypes +CFLAGS += -Wno-strict-prototypes -nostdlib DEPPATH += --dep-path $(CPYTHON_UNPACKNAME)$(DELIM)Programs VPATH += :$(CPYTHON_UNPACKNAME)$(DELIM)Programs