[PATCH 20/94] sys-apps/util-linux: fix CHOST check

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <4f0a9de21345b8e60f1e6ceb2471030bdaa2bbc5.1774994296.git.sam@gentoo.org>
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 <[email protected]>
---
 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 d7577c86e9678..e1c8a334201c0 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
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.