From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4BEC1581FB for ; Wed, 28 Aug 2024 15:14:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB86DE29E9; Wed, 28 Aug 2024 15:14:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0FE9E29E9 for ; Wed, 28 Aug 2024 15:14:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2FB333BF08 for ; Wed, 28 Aug 2024 15:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2FA0C14D6 for ; Wed, 28 Aug 2024 15:14:23 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1724858039.a786643b846ca4f1c12121f3a3a82b47229e8c25.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/gnu-efi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild X-VCS-Directories: sys-boot/gnu-efi/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: a786643b846ca4f1c12121f3a3a82b47229e8c25 X-VCS-Branch: master Date: Wed, 28 Aug 2024 15:14:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a67b3afe-8be0-40bc-977e-1813a1b1e8f5 X-Archives-Hash: f60983a52dfbf44610d873fbbcf0d1a0 commit: a786643b846ca4f1c12121f3a3a82b47229e8c25 Author: Viorel Munteanu gentoo org> AuthorDate: Wed Aug 28 15:07:01 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Wed Aug 28 15:13:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a786643b sys-boot/gnu-efi: fix compilation on different locales Closes: https://bugs.gentoo.org/938580 Signed-off-by: Viorel Munteanu gentoo.org> sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild index b34d3a74c7db..7185e2dbb78c 100644 --- a/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild +++ b/sys-boot/gnu-efi/gnu-efi-3.0.18-r4.ebuild @@ -42,7 +42,7 @@ check_and_set_objcopy() { # llvm-objcopy does not support EFI target, try to use binutils objcopy or fail tc-export OBJCOPY OBJCOPY="${OBJCOPY/llvm-/}" - LANG=C LC_ALL=C "${OBJCOPY}" --help | grep -q '\ /dev/null | grep ^install: | cut -f2 -d' ')/include + CPPINCLUDEDIR=$(LC_ALL=C ${CC} -print-search-dirs 2> /dev/null | grep ^install: | cut -f2 -d' ')/include elif tc-is-clang; then - CPPINCLUDEDIR=$(LANG=C ${CC} -print-resource-dir 2> /dev/null)/include + CPPINCLUDEDIR=$(LC_ALL=C ${CC} -print-resource-dir 2> /dev/null)/include fi append-cflags "-nostdinc -isystem ${CPPINCLUDEDIR} -isystem ${ESYSROOT}/usr/include"