lib/libffi: Update libffi to 3.4.6.
Libffi is updated to the latest stable version (v3.4.6) as the version of libffi that was linked by the repository predates the introduction of RISC-V processors (both 32 and 64 bits). This is necessary as the packaged version of libffi used by the CI for RISC-V 64 turned out to simply not work correctly, whilst a source-built version of libffi worked just fine. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
This commit is contained in:
committed by
Damien George
parent
b08ddbba59
commit
2b5feb9121
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -3,7 +3,7 @@
|
|||||||
url = https://github.com/micropython/axtls.git
|
url = https://github.com/micropython/axtls.git
|
||||||
[submodule "lib/libffi"]
|
[submodule "lib/libffi"]
|
||||||
path = lib/libffi
|
path = lib/libffi
|
||||||
url = https://github.com/atgreen/libffi
|
url = https://github.com/libffi/libffi
|
||||||
[submodule "lib/lwip"]
|
[submodule "lib/lwip"]
|
||||||
path = lib/lwip
|
path = lib/lwip
|
||||||
url = https://github.com/lwip-tcpip/lwip.git
|
url = https://github.com/lwip-tcpip/lwip.git
|
||||||
|
|||||||
Submodule lib/libffi updated: e9de7e35f2...3d0ce1e6fc
@@ -168,7 +168,7 @@ ifeq ($(MICROPY_STANDALONE),1)
|
|||||||
# Build libffi from source.
|
# Build libffi from source.
|
||||||
GIT_SUBMODULES += lib/libffi
|
GIT_SUBMODULES += lib/libffi
|
||||||
DEPLIBS += libffi
|
DEPLIBS += libffi
|
||||||
LIBFFI_CFLAGS := -I$(shell ls -1d $(BUILD)/lib/libffi/out/lib/libffi-*/include)
|
LIBFFI_CFLAGS := -I$(shell ls -1d $(BUILD)/lib/libffi/include)
|
||||||
ifeq ($(MICROPY_FORCE_32BIT),1)
|
ifeq ($(MICROPY_FORCE_32BIT),1)
|
||||||
LIBFFI_LDFLAGS = $(BUILD)/lib/libffi/out/lib32/libffi.a
|
LIBFFI_LDFLAGS = $(BUILD)/lib/libffi/out/lib32/libffi.a
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user