summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/arch/loong/make.defaults8
-rw-r--r--profiles/arch/loong/package.use.mask4
-rw-r--r--profiles/arch/loong/use.mask6
3 files changed, 17 insertions, 1 deletions
diff --git a/profiles/arch/loong/make.defaults b/profiles/arch/loong/make.defaults
index 08d836272984..7665e2f05407 100644
--- a/profiles/arch/loong/make.defaults
+++ b/profiles/arch/loong/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Main LoongArch profile directory. Common settings for all loong profiles.
@@ -44,3 +44,9 @@ FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
# ABI
# DEFAULT_ABI
# MULTILIB_ABIS
+
+# Sam James <sam@gentoo.org> (2025-01-10)
+# Temporary USE until the global default catches up. dev-lang/ada-bootstrap
+# starts with sys-devel/gcc:14 so ADA_TARGET needs to be >= that. This
+# entry can be dropped once the global one is >= gcc_14.
+ADA_TARGET="gcc_14"
diff --git a/profiles/arch/loong/package.use.mask b/profiles/arch/loong/package.use.mask
index 4e68b850c7c1..51f9c333547a 100644
--- a/profiles/arch/loong/package.use.mask
+++ b/profiles/arch/loong/package.use.mask
@@ -1,6 +1,10 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2025-01-10)
+# dev-lang/ada-bootstrap exists here
+>=sys-devel/gcc-14 -ada
+
# WANG Xuerui <xen0n@gentoo.org> (2025-01-10)
# bootstrap-emacs crashes at build time
app-editors/emacs jit
diff --git a/profiles/arch/loong/use.mask b/profiles/arch/loong/use.mask
index 9207ac6cc827..27de582eafc2 100644
--- a/profiles/arch/loong/use.mask
+++ b/profiles/arch/loong/use.mask
@@ -1,6 +1,12 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2025-01-10)
+# Older targets don't have an old enough dev-lang/ada-bootstrap available
+ada_target_gnat_2021
+ada_target_gcc_12
+ada_target_gcc_13
+
# Sam James <sam@gentoo.org> (2024-06-13)
# Needs as-yet-unkeyworded KF6 (bug #934215)
kf6compat