diff --git a/src/libuv-1.38.1/config.guess b/src/libuv-1.38.1/config.guess index 256083a70..c20b9b9fd 100755 --- a/src/libuv-1.38.1/config.guess +++ b/src/libuv-1.38.1/config.guess @@ -964,6 +964,9 @@ EOF k1om:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; m32r*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; diff --git a/src/libuv-1.38.1/config.sub b/src/libuv-1.38.1/config.sub index 9ccf09a7a..64f2198b6 100755 --- a/src/libuv-1.38.1/config.sub +++ b/src/libuv-1.38.1/config.sub @@ -264,6 +264,7 @@ case $basic_machine in | ip2k | iq2000 \ | k1om \ | le32 | le64 \ + | loongarch32 | loongarch64 | loongarchx32 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \