commit:     fcd9cc940c6664ec07e3085b7fc9cdcc1e998dd0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 19:10:25 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 19:11:03 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd9cc94

sys-apps/util-linux: fix CHOST check

CTARGET isn't defined unless we go out of our way to do it, use CHOST
which is obviously more appropriate here anyway (u-l isn't a toolchain).

Fixes: 15addb9d5957b061750c7ef59130dc3ead89e3b8
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/util-linux/util-linux-2.41.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/util-linux/util-linux-2.41.3.ebuild 
b/sys-apps/util-linux/util-linux-2.41.3.ebuild
index d7577c86e967..e1c8a334201c 100644
--- a/sys-apps/util-linux/util-linux-2.41.3.ebuild
+++ b/sys-apps/util-linux/util-linux-2.41.3.ebuild
@@ -341,7 +341,7 @@ multilib_src_configure() {
                )
        fi
 
-       if [[ ${CTARGET} == *-gnu ]] ; then
+       if [[ ${CHOST} == *-gnu ]] ; then
                # Disable Linux-specific features
                myeconfargs+=(
                        --disable-partx

Reply via email to