@@ -934,6 +934,9 @@ else
|
934 | 934 | ifeq ($(findstring riscv64,$(UNAME_M)),riscv64) |
935 | 935 | DESTCPU ?= riscv64 |
936 | 936 | else |
| 937 | +ifeq ($(findstring loongarch64,$(UNAME_M)),loongarch64) |
| 938 | +DESTCPU ?= loong64 |
| 939 | +else |
937 | 940 | DESTCPU ?= x86 |
938 | 941 | endif |
939 | 942 | endif |
@@ -947,6 +950,7 @@ endif
|
947 | 950 | endif |
948 | 951 | endif |
949 | 952 | endif |
| 953 | +endif |
950 | 954 | ifeq ($(DESTCPU),x64) |
951 | 955 | ARCH=x64 |
952 | 956 | else |
@@ -971,6 +975,9 @@ else
|
971 | 975 | ifeq ($(DESTCPU),riscv64) |
972 | 976 | ARCH=riscv64 |
973 | 977 | else |
| 978 | +ifeq ($(DESTCPU),loong64) |
| 979 | +ARCH=loong64 |
| 980 | +else |
974 | 981 | ARCH=x86 |
975 | 982 | endif |
976 | 983 | endif |
@@ -980,6 +987,7 @@ endif
|
980 | 987 | endif |
981 | 988 | endif |
982 | 989 | endif |
| 990 | +endif |
983 | 991 | |
984 | 992 | # node and v8 use different arch names (e.g. node 'x86' vs v8 'ia32'). |
985 | 993 | # pass the proper v8 arch name to $V8_ARCH based on user-specified $DESTCPU. |
|