mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
MoonchildProductions/UXP#2897: Allow mach configure to pass on loongarch64
This commit is contained in:
parent
def0f21065
commit
cfb4ac338e
3 changed files with 8 additions and 0 deletions
3
build/autoconf/config.guess
vendored
3
build/autoconf/config.guess
vendored
|
|
@ -982,6 +982,9 @@ EOF
|
|||
k1om:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
loongarch64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
m32r*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
|
|
|
|||
|
|
@ -378,6 +378,9 @@ def split_triplet(triplet):
|
|||
elif cpu.startswith('aarch64'):
|
||||
canonical_cpu = 'aarch64'
|
||||
endianness = 'little'
|
||||
elif cpu.startswith('loongarch64'):
|
||||
canonical_cpu = 'loongarch64'
|
||||
endianness = 'little'
|
||||
else:
|
||||
die('Unknown CPU type: %s' % cpu)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue