summaryrefslogtreecommitdiff
path: root/add-loongarch64-to-generic_arches.patch
diff options
context:
space:
mode:
Diffstat (limited to 'add-loongarch64-to-generic_arches.patch')
-rw-r--r--add-loongarch64-to-generic_arches.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/add-loongarch64-to-generic_arches.patch b/add-loongarch64-to-generic_arches.patch
new file mode 100644
index 0000000..cf3dc63
--- /dev/null
+++ b/add-loongarch64-to-generic_arches.patch
@@ -0,0 +1,13 @@
+diff --git a/macros b/macros
+index d6b2c80..a66eb2e 100644
+--- a/macros
++++ b/macros
+@@ -241,7 +241,7 @@
+ %pkg_vcmp() (%{expand:%%{pkg_version_cmp %1 %3}} %2 0)
+
+ #arches macros
+-%generic_arches %{ix86} x86_64 %{arm} aarch64
++%generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64
+ %ldc_arches %{generic_arches}
+ %valgrind_arches %{generic_arches}
+ %nodejs_arches %{generic_arches}