Issue #3049 - backport libffi loongarch support

This commit is contained in:
Basilisk-Dev 2026-04-17 22:19:38 -04:00 committed by wuggy
commit 2415b3eaaf
5 changed files with 1015 additions and 2 deletions

View file

@ -101,6 +101,8 @@ else:
ASFLAGS += ['-no-integrated-as']
elif CONFIG['FFI_TARGET'] == 'AARCH64':
ffi_srcs = ('sysv.S', 'ffi.c')
elif CONFIG['FFI_TARGET'] == 'LOONGARCH64':
ffi_srcs = ('ffi.c', 'sysv.S')
elif CONFIG['FFI_TARGET'] == 'X86':
ffi_srcs = ('ffi.c', 'sysv.S', 'win32.S')
elif CONFIG['FFI_TARGET'] == 'X86_64':