File support-arm64-build.patch of Package nodejs.1380

--- configure
+++ configure
@@ -444,6 +444,7 @@
   matchup = {
     '__x86_64__'  : 'x64',
     '__i386__'    : 'ia32',
+    '__aarch64__' : 'arm64',
     '__arm__'     : 'arm',
     '__mips__'    : 'mips',
     '__PPC64__'   : 'ppc64',
--- Makefile
+++ Makefile
@@ -255,6 +255,9 @@
 ifeq ($(DESTCPU),arm)
 ARCH=arm
 else
+ifeq ($(DESTCPU),arm64)
+ARCH=arm64
+else
 ifeq ($(DESTCPU),ppc)
 ARCH=ppc
 else
@@ -271,6 +274,7 @@
 endif
 endif
 endif
+endif
 endif
 endif
 endif
openSUSE Build Service is sponsored by