Skip to content

Commit 2b5feb9

Browse files
agattidpgeorge
authored andcommitted
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>
1 parent b08ddbb commit 2b5feb9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
url = https://github.com/micropython/axtls.git
44
[submodule "lib/libffi"]
55
path = lib/libffi
6-
url = https://github.com/atgreen/libffi
6+
url = https://github.com/libffi/libffi
77
[submodule "lib/lwip"]
88
path = lib/lwip
99
url = https://github.com/lwip-tcpip/lwip.git

lib/libffi

Submodule libffi updated 324 files

ports/unix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ ifeq ($(MICROPY_STANDALONE),1)
168168
# Build libffi from source.
169169
GIT_SUBMODULES += lib/libffi
170170
DEPLIBS += libffi
171-
LIBFFI_CFLAGS := -I$(shell ls -1d $(BUILD)/lib/libffi/out/lib/libffi-*/include)
171+
LIBFFI_CFLAGS := -I$(shell ls -1d $(BUILD)/lib/libffi/include)
172172
ifeq ($(MICROPY_FORCE_32BIT),1)
173173
LIBFFI_LDFLAGS = $(BUILD)/lib/libffi/out/lib32/libffi.a
174174
else

0 commit comments

Comments
 (0)