1 |
commit: ca5a684e6be8154d4c4b2b6a2adb0110bfcb5c58 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 6 09:06:58 2022 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 6 09:06:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ca5a684e |
7 |
|
8 |
toolchain.eclass: fix syntax |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
eclass/toolchain.eclass | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
16 |
index ed8c227c4a..782cbeebf2 100644 |
17 |
--- a/eclass/toolchain.eclass |
18 |
+++ b/eclass/toolchain.eclass |
19 |
@@ -202,7 +202,7 @@ tc_has_feature() { |
20 |
|
21 |
# Prefix: allow gcc-apple post 4.2.1 |
22 |
if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] || |
23 |
- [[ ${PN} == "gcc-apple" && tc_version_is_at_least 12.1 ]] ; then |
24 |
+ [[ ${PN} == "gcc-apple" && $(tc_version_is_at_least 12.1) == 0 ]] ; then |
25 |
IUSE+=" debug +cxx +nptl" TC_FEATURES+=( nptl ) |
26 |
[[ -n ${PIE_VER} ]] && IUSE+=" nopie" |
27 |
[[ -n ${SPECS_VER} ]] && IUSE+=" nossp" |