1 |
commit: 73d1074b0f3a670516ce5ca07e1ae4b2fa93d230 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 29 13:38:36 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 29 13:38:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d1074b |
7 |
|
8 |
eclass: ada.eclass add gnat_2021 |
9 |
|
10 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
11 |
|
12 |
eclass/ada.eclass | 9 ++++++--- |
13 |
1 file changed, 6 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/eclass/ada.eclass b/eclass/ada.eclass |
16 |
index 2e409fd9305..0c658368b52 100644 |
17 |
--- a/eclass/ada.eclass |
18 |
+++ b/eclass/ada.eclass |
19 |
@@ -58,7 +58,7 @@ EXPORT_FUNCTIONS pkg_setup |
20 |
# @DESCRIPTION: |
21 |
# All supported Ada implementations, most preferred last. |
22 |
_ADA_ALL_IMPLS=( |
23 |
- gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020 |
24 |
+ gnat_2016 gnat_2017 gnat_2018 gnat_2019 gnat_2020 gnat_2021 |
25 |
) |
26 |
readonly _ADA_ALL_IMPLS |
27 |
|
28 |
@@ -86,7 +86,7 @@ _ada_impl_supported() { |
29 |
gnat_201[6789]) |
30 |
return 0 |
31 |
;; |
32 |
- gnat_2020) |
33 |
+ gnat_202[01]) |
34 |
return 0 |
35 |
;; |
36 |
*) |
37 |
@@ -184,7 +184,7 @@ ada_export() { |
38 |
impl=${1} |
39 |
shift |
40 |
;; |
41 |
- gnat_2020) |
42 |
+ gnat_202[01]) |
43 |
impl=${1} |
44 |
shift |
45 |
;; |
46 |
@@ -214,6 +214,9 @@ ada_export() { |
47 |
gnat_2020) |
48 |
gcc_pv=9.3.1 |
49 |
;; |
50 |
+ gnat_2021) |
51 |
+ gcc_pv=10.3.1 |
52 |
+ ;; |
53 |
*) |
54 |
gcc_pv="9.9.9" |
55 |
;; |