commit:     a062a8734e15ffdb755d8af5a017e4a0d3aae11b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 00:55:26 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 00:55:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a062a873

profiles/arch: set special/custom ADA_TARGET for non-amd64

Older ADA_TARGET(s) don't have an old enough dev-lang/ada-bootstrap available,
so mask them to facilitate keywording of dev-ada/*.

Specifically:
* ada_target_gnat_2021
* ada_target_gcc_12
* ada_target_gcc_13

So, just as we masked them earlier, let's set an appropriate ADA_TARGET
default for such arches (i.e. set gcc_14).

dev-lang/ada-bootstrap starts for all arches at gcc:14, hence ada_target_gcc_14.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/arch/arm/make.defaults     | 8 +++++++-
 profiles/arch/arm64/make.defaults   | 8 +++++++-
 profiles/arch/hppa/make.defaults    | 8 +++++++-
 profiles/arch/powerpc/make.defaults | 8 +++++++-
 profiles/arch/sparc/make.defaults   | 8 +++++++-
 5 files changed, 35 insertions(+), 5 deletions(-)

diff --git a/profiles/arch/arm/make.defaults b/profiles/arch/arm/make.defaults
index 72f8fa05cf8e..02cf9e76f0d9 100644
--- a/profiles/arch/arm/make.defaults
+++ b/profiles/arch/arm/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 2008-2024 Gentoo Authors
+# Copyright 2008-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Main ARM profile
@@ -25,3 +25,9 @@ VIDEO_CARDS="exynos fbdev omap"
 # Michał Górny <[email protected]> (2017-03-14)
 # Unhide the ARM-specific USE_EXPANDs.
 USE_EXPAND_HIDDEN="-CPU_FLAGS_ARM"
+
+# Sam James <[email protected]> (2025-01-05)
+# 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/arm64/make.defaults 
b/profiles/arch/arm64/make.defaults
index 55118834bcce..e7b9c1371a6f 100644
--- a/profiles/arch/arm64/make.defaults
+++ b/profiles/arch/arm64/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 2014-2024 Gentoo Authors
+# Copyright 2014-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Main ARM64 (AArch64/ARMv8) profile; endian independent.
@@ -20,6 +20,12 @@ LIBDIR_arm64="lib64"
 # Defaults for video drivers
 VIDEO_CARDS="fbdev"
 
+# Sam James <[email protected]> (2025-01-05)
+# 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"
+
 # Mart Raudsepp <[email protected]> (2018-06-05)
 # Enable USE=libtirpc by default, to ease dependency resolution during
 # the stabilization of glibc-2.26. Bug 657148

diff --git a/profiles/arch/hppa/make.defaults b/profiles/arch/hppa/make.defaults
index b8faae33585f..3330405919e4 100644
--- a/profiles/arch/hppa/make.defaults
+++ b/profiles/arch/hppa/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 ARCH="hppa"
@@ -10,6 +10,12 @@ CXXFLAGS="${CFLAGS}"
 
 FEATURES="sandbox sfperms strict"
 
+# Sam James <[email protected]> (2025-01-05)
+# 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"
+
 # Michał Górny <[email protected]> (2014-07-01)
 # Set ABI & DEFAULT_ABI consistently with ${ARCH}, to make ebuild
 # checks simpler.

diff --git a/profiles/arch/powerpc/make.defaults 
b/profiles/arch/powerpc/make.defaults
index 5290818c64fc..f5392d8be424 100644
--- a/profiles/arch/powerpc/make.defaults
+++ b/profiles/arch/powerpc/make.defaults
@@ -1,9 +1,15 @@
-# Copyright 2019-2023 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # All extra USE/etc should be specified in sub-profiles.
 # DO NOT POLLUTE USE ON THIS PROFILE.
 
+# Sam James <[email protected]> (2025-01-05)
+# 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"
+
 # Georgy Yakovlev <[email protected]> (2019-08-30)
 # Unhide PPC specific USE_EXPANDs.
 USE_EXPAND_HIDDEN="-CPU_FLAGS_PPC"

diff --git a/profiles/arch/sparc/make.defaults 
b/profiles/arch/sparc/make.defaults
index ad4a52329c2f..d3f218aa2673 100644
--- a/profiles/arch/sparc/make.defaults
+++ b/profiles/arch/sparc/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 ARCH="sparc"
@@ -42,3 +42,9 @@ VIDEO_CARDS="fbdev mga r128 radeon"
 # Enable USE=libtirpc by default, to ease dependency resolution during
 # the stabilization of glibc-2.26. Bug 657148
 USE="libtirpc"
+
+# Sam James <[email protected]> (2025-01-05)
+# 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"

Reply via email to