summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-08-06 23:25:52 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-08-06 23:26:06 +0200
commite7b0114164283c266d7a246b824dfe906881b93c (patch)
tree93e078a1608096e64192a37fab2c80eb81643bef /sys-libs
parentwww-client/chromium: dev channel bump to 94.0.4595.0 (diff)
downloadgentoo-e7b0114164283c266d7a246b824dfe906881b93c.tar.gz
gentoo-e7b0114164283c266d7a246b824dfe906881b93c.tar.bz2
gentoo-e7b0114164283c266d7a246b824dfe906881b93c.zip
sys-libs/glibc: Run compiler tests only when compiling
Bug: https://bugs.gentoo.org/786570 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.34.ebuild2
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/glibc/glibc-2.34.ebuild b/sys-libs/glibc/glibc-2.34.ebuild
index e0e45501086c..b9c6d96cb9f1 100644
--- a/sys-libs/glibc/glibc-2.34.ebuild
+++ b/sys-libs/glibc/glibc-2.34.ebuild
@@ -678,7 +678,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
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 60bd75d08acd..564367df0b9d 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -678,7 +678,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