commit:     5d3f0072cd3c47fbb78cfc6a348b40b512019352
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 10:51:17 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue May 28 10:52:32 2024 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5d3f0072

Fix loongarch -march to baseline

With gcc-14, the default was quietly raised to include vector extensions.
This makes our stages explode on first-gen hardware...

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 arch/loong.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/loong.toml b/arch/loong.toml
index 7ff92c03..2334c84b 100644
--- a/arch/loong.toml
+++ b/arch/loong.toml
@@ -1,4 +1,4 @@
 [loong.loong]
-COMMON_FLAGS = " -pipe -O2"
+COMMON_FLAGS = " -pipe -O2 -march=loongarch64 "
 CHOST = "loongarch64-unknown-linux-gnu"
 

Reply via email to