diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-03-22 19:02:23 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-04-30 21:24:58 +0200 |
commit | c84ba1bebef686f74503ec61c9b8eb86ed2adbff (patch) | |
tree | 8e5de8f91da347da1b897ca8e5852637e2a9e85c /eclass | |
parent | toolchain.eclass: To make "tc_has_feature ada" actually work (diff) | |
download | gentoo-c84ba1bebef686f74503ec61c9b8eb86ed2adbff.tar.gz gentoo-c84ba1bebef686f74503ec61c9b8eb86ed2adbff.tar.bz2 gentoo-c84ba1bebef686f74503ec61c9b8eb86ed2adbff.zip |
Building the ada compiler require both c++ and ada USE flags enabled.
Otherwise drop ada.
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index b51f146ce25b..4d057de7a0f3 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2507,7 +2507,7 @@ _tc_use_if_iuse() { is_ada() { gcc-lang-supported ada || return 1 - _tc_use_if_iuse ada + _tc_use_if_iuse cxx && _tc_use_if_iuse ada } is_cxx() { |