Skip to content

Commit d658f44

Browse files
committed
fixup
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
1 parent 2a2699c commit d658f44

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

deps/libffi/generate-headers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_target(os_name, target_arch):
4545
return ('RISCV', 'riscv')
4646

4747
if target_arch == 'loong64':
48-
return ('LOONGARCH64', 'loongarch64')
48+
return ('LOONGARCH64', 'loongarch')
4949

5050
if target_arch in ('mips', 'mipsel', 'mips64el'):
5151
if os_name in ('freebsd', 'linux', 'openbsd'):

deps/libffi/libffi.gyp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
['target_arch == "loong64"', {
9393
'variables': {
9494
'libffi_arch_sources': [
95-
'src/loongarch64/ffi.c',
96-
'src/loongarch64/sysv.S',
95+
'src/loongarch/ffi.c',
96+
'src/loongarch/sysv.S',
9797
],
9898
},
9999
}],
@@ -180,7 +180,7 @@
180180
'include/ffi.h.in',
181181
'src/aarch64/ffitarget.h',
182182
'src/arm/ffitarget.h',
183-
'src/loongarch64/ffitarget.h',
183+
'src/loongarch/ffitarget.h',
184184
'src/mips/ffitarget.h',
185185
'src/powerpc/ffitarget.h',
186186
'src/riscv/ffitarget.h',

0 commit comments

Comments
 (0)