We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29673b8 commit f6a1092Copy full SHA for f6a1092
Makefile
@@ -847,6 +847,9 @@ else
847
ifeq ($(findstring powerpc,$(shell uname -p)),powerpc)
848
DESTCPU ?= ppc64
849
else
850
+ifeq ($(findstring riscv64,$(UNAME_M)),riscv64)
851
+DESTCPU ?= riscv64
852
+else
853
DESTCPU ?= x86
854
endif
855
@@ -857,6 +860,7 @@ endif
857
860
858
861
859
862
863
+endif
864
ifeq ($(DESTCPU),x64)
865
ARCH=x64
866
@@ -878,6 +882,9 @@ else
878
882
ifeq ($(DESTCPU),s390x)
879
883
ARCH=s390x
880
884
885
+ifeq ($(DESTCPU),riscv64)
886
+ARCH=riscv64
887
881
888
ARCH=x86
889
890
@@ -886,6 +893,7 @@ endif
893
894
895
896
897
898
# node and v8 use different arch names (e.g. node 'x86' vs v8 'ia32').
891
899
# pass the proper v8 arch name to $V8_ARCH based on user-specified $DESTCPU.
0 commit comments