summaryrefslogtreecommitdiff
path: root/openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-29 11:09:34 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-29 11:09:34 +0000
commitc22cb56acddf5bc4147f60908d5ebd770a079070 (patch)
tree302eb716e7d6c4b9c514cf5cd9575b5a347fe220 /openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch
parentb28db8b7389e86a8b2a424f4851ecf7714373516 (diff)
automatic import of openEuler-rpm-config
Diffstat (limited to 'openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch')
-rw-r--r--openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch b/openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch
new file mode 100644
index 0000000..a50dd54
--- /dev/null
+++ b/openEuler-rpm-config-add-optflags-for-loongarch64-and-sw_64.patch
@@ -0,0 +1,26 @@
+From ed8b90665c3bda8ca6bea1bf541e0232f03fb371 Mon Sep 17 00:00:00 2001
+From: yueyuankun <yueyuankun@kylinos.cn>
+Date: Fri, 15 Mar 2024 11:17:38 +0800
+Subject: [PATCH] add optflags for loongarch64 and sw_64
+
+---
+ rpmrc | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/rpmrc b/rpmrc
+index 10d7c86..45840e6 100644
+--- a/rpmrc
++++ b/rpmrc
+@@ -8,6 +8,9 @@ optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-u
+ optflags: aarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
+ optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
+
++optflags: loongarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
++optflags: sw_64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
++
+ optflags: ppc64le %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection
+
+ buildarchtranslate: athlon: i686
+--
+2.43.0
+