summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-12-02 05:29:36 +0000
committerSam James <sam@gentoo.org>2025-12-03 01:11:04 +0000
commitf241681e909f679fa67b9ced5acb4eeef75a6e03 (patch)
tree0a940c5db4048c611d02f2004768ae317dae3c71 /eclass
parentdb7309fb05b146aff5383676ff8d7d26094e05d9 (diff)
downloadgentoo-f241681e909f679fa67b9ced5acb4eeef75a6e03.tar.gz
gentoo-f241681e909f679fa67b9ced5acb4eeef75a6e03.tar.bz2
gentoo-f241681e909f679fa67b9ced5acb4eeef75a6e03.zip
profiles: add ada_target_gcc_16
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ada.eclass12
1 files changed, 8 insertions, 4 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 2732b4f57afd..2f68727c519b 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -57,7 +57,7 @@ _ADA_ECLASS=1
# @DESCRIPTION:
# All supported Ada implementations, most preferred last.
_ADA_ALL_IMPLS=(
- gcc_12 gcc_13 gcc_14 gcc_15
+ gcc_12 gcc_13 gcc_14 gcc_15 gcc_16
)
readonly _ADA_ALL_IMPLS
@@ -119,7 +119,7 @@ _ada_impl_supported() {
# keep in sync with _ADA_ALL_IMPLS!
# (not using that list because inline patterns shall be faster)
case "${impl}" in
- gcc_12|gcc_13|gcc_14|gcc_15)
+ gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
return 0
;;
*)
@@ -213,7 +213,7 @@ ada_export() {
local impl var
case "${1}" in
- gcc_12|gcc_13|gcc_14|gcc_15)
+ gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
impl=${1}
shift
;;
@@ -245,6 +245,10 @@ ada_export() {
gcc_pv=15
slot=15
;;
+ gcc_16)
+ gcc_pv=16
+ slot=16
+ ;;
*)
gcc_pv="9.9.9"
slot=9.9.9
@@ -295,7 +299,7 @@ ada_export() {
;;
ADA_PKG_DEP)
case "${impl}" in
- gcc_12|gcc_13|gcc_14|gcc_15)
+ gcc_12|gcc_13|gcc_14|gcc_15|gcc_16)
ADA_PKG_DEP="sys-devel/gcc:${slot}[ada]"
;;
*)