diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-06-06 11:06:58 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-06-06 11:06:58 +0200 |
commit | ca5a684e6be8154d4c4b2b6a2adb0110bfcb5c58 (patch) | |
tree | f56133064dc9dd8e02857c5e386cb124f47b9d5f /eclass | |
parent | toolchain.eclass: sync with gx86 (diff) | |
download | prefix-ca5a684e6be8154d4c4b2b6a2adb0110bfcb5c58.tar.gz prefix-ca5a684e6be8154d4c4b2b6a2adb0110bfcb5c58.tar.bz2 prefix-ca5a684e6be8154d4c4b2b6a2adb0110bfcb5c58.zip |
toolchain.eclass: fix syntax
Signed-off-by: Fabian Groffen <grobian@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 ed8c227c4a..782cbeebf2 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -202,7 +202,7 @@ tc_has_feature() { # Prefix: allow gcc-apple post 4.2.1 if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] || - [[ ${PN} == "gcc-apple" && tc_version_is_at_least 12.1 ]] ; then + [[ ${PN} == "gcc-apple" && $(tc_version_is_at_least 12.1) == 0 ]] ; then IUSE+=" debug +cxx +nptl" TC_FEATURES+=( nptl ) [[ -n ${PIE_VER} ]] && IUSE+=" nopie" [[ -n ${SPECS_VER} ]] && IUSE+=" nossp" |