summaryrefslogtreecommitdiff
path: root/eclass/ada.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /eclass/ada.eclass
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'eclass/ada.eclass')
-rw-r--r--eclass/ada.eclass12
1 files changed, 11 insertions, 1 deletions
diff --git a/eclass/ada.eclass b/eclass/ada.eclass
index 4b568a8c20a3..2e409fd93050 100644
--- a/eclass/ada.eclass
+++ b/eclass/ada.eclass
@@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup
# @DESCRIPTION:
# All supported Ada implementations, most preferred last.
_ADA_ALL_IMPLS=(
- gnat_2016 gnat_2017 gnat_2018 gnat_2019
+ gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020
)
readonly _ADA_ALL_IMPLS
@@ -86,6 +86,9 @@ _ada_impl_supported() {
gnat_201[6789])
return 0
;;
+ gnat_2020)
+ return 0
+ ;;
*)
[[ ${ADA_COMPAT_NO_STRICT} ]] && return 1
die "Invalid implementation in ADA_COMPAT: ${impl}"
@@ -181,6 +184,10 @@ ada_export() {
impl=${1}
shift
;;
+ gnat_2020)
+ impl=${1}
+ shift
+ ;;
*)
impl=${EADA}
if [[ -z ${impl} ]]; then
@@ -204,6 +211,9 @@ ada_export() {
gnat_2019)
gcc_pv=8.3.1
;;
+ gnat_2020)
+ gcc_pv=9.3.1
+ ;;
*)
gcc_pv="9.9.9"
;;