commit: a25a710d9ccd4aa4f5a08cb035aab797913607c0
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 14:05:35 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 14:06:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25a710d
sys-libs/glibc: Build binaries are BROOT not SYSROOT
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
sys-libs/glibc/glibc-2.35.ebuild | 4 ++--
sys-libs/glibc/glibc-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys-libs/glibc/glibc-2.35.ebuild b/sys-libs/glibc/glibc-2.35.ebuild
index 0237132b9373..c02fa282882f 100644
--- a/sys-libs/glibc/glibc-2.35.ebuild
+++ b/sys-libs/glibc/glibc-2.35.ebuild
@@ -518,8 +518,8 @@ setup_env() {
# Last, we need the settings of the *build* environment, not of
the
# target environment...
- local current_binutils_path=$(env ROOT="${SYSROOT}"
binutils-config -B)
- local current_gcc_path=$(env ROOT="${SYSROOT}" gcc-config -B)
+ local current_binutils_path=$(env ROOT="${BROOT}"
binutils-config -B)
+ local current_gcc_path=$(env ROOT="${BROOT}" gcc-config -B)
einfo "Overriding clang configuration, since it won't work here"
export CC="${current_gcc_path}/gcc"
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index f9c41f6d8ccc..9ba451c12e1a 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -518,8 +518,8 @@ setup_env() {
# Last, we need the settings of the *build* environment, not of
the
# target environment...
- local current_binutils_path=$(env ROOT="${SYSROOT}"
binutils-config -B)
- local current_gcc_path=$(env ROOT="${SYSROOT}" gcc-config -B)
+ local current_binutils_path=$(env ROOT="${BROOT}"
binutils-config -B)
+ local current_gcc_path=$(env ROOT="${BROOT}" gcc-config -B)
einfo "Overriding clang configuration, since it won't work here"
export CC="${current_gcc_path}/gcc"