]> git.pld-linux.org Git - packages/rpm.git/blobdiff - aarch64.patch
add support for aarch64
[packages/rpm.git] / aarch64.patch
diff --git a/aarch64.patch b/aarch64.patch
new file mode 100644 (file)
index 0000000..8013c2a
--- /dev/null
@@ -0,0 +1,13 @@
+--- rpm-4.16.0/installplatform.orig    2020-10-24 21:48:07.586493242 +0200
++++ rpm-4.16.0/installplatform 2020-10-24 21:48:23.069703643 +0200
+@@ -207,6 +207,10 @@
+       LIB=${LIB}x32
+   fi
++  if [ "$OS" = "linux" ] && [ "$CANONARCH" = "aarch64" ]; then
++      LIB=${LIB}64
++  fi
++
+   PPD="${DESTDIR}/${platformdir}/${ARCH}-${OS}"
+   [ -d $PPD ] || mkdir -p $PPD
This page took 0.025869 seconds and 4 git commands to generate.