summaryrefslogtreecommitdiff
path: root/add-loongarch64-to-generic_arches.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-15 16:14:57 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-15 16:14:57 +0000
commit59c3dc9003e30d97ade19e415a088a17fb1910d3 (patch)
treec3ee82bb58a005321f9ed9184003d6f889c9e73c /add-loongarch64-to-generic_arches.patch
parent2398782a1512e7b4032560abf06c28e6a5d61f41 (diff)
automatic import of openEuler-rpm-configopeneuler23.03openeuler20.03
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}