diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-05-12 20:48:58 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-05-12 20:48:58 +0200 |
commit | 30a7909df3e687d496f31a8e1efc7e3983321a5b (patch) | |
tree | ad1ef4f929f5c8fc2bf1e8d6aec13afc0d70cd50 /eclass | |
parent | sys-kernel/gentoo-kernel: 5.10.33 ppc64 stable, bug #788847 (diff) | |
download | gentoo-30a7909df3e687d496f31a8e1efc7e3983321a5b.tar.gz gentoo-30a7909df3e687d496f31a8e1efc7e3983321a5b.tar.bz2 gentoo-30a7909df3e687d496f31a8e1efc7e3983321a5b.zip |
eclass/ada.eclass: adding gnat_2020
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ada.eclass | 12 |
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" ;; |