mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 07:12:06 +08:00
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.
This commit is contained in:

committed by
Xiang Xiao

parent
376cc5a731
commit
d63bb6d81d
@@ -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
|
||||
|
Reference in New Issue
Block a user