commit:     5b0d55ca980cf4a2abf574832060bb8b517b6203
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 14 20:16:34 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 20:16:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b0d55ca

sys-libs/glibc: Run compiler tests only when compiling

Closes: https://bugs.gentoo.org/786570
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.33-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/glibc/glibc-2.33-r6.ebuild 
b/sys-libs/glibc/glibc-2.33-r6.ebuild
index c3965440378..53507027d87 100644
--- a/sys-libs/glibc/glibc-2.33-r6.ebuild
+++ b/sys-libs/glibc/glibc-2.33-r6.ebuild
@@ -677,7 +677,7 @@ sanity_prechecks() {
        fi
 
        # When we actually have to compile something...
-       if ! just_headers ; then
+       if ! just_headers && [[ ${MERGE_TYPE} != "binary" ]] ; then
                ebegin "Checking gcc for __thread support"
                if ! eend $(want__thread ; echo $?) ; then
                        echo

Reply via email to