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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78ABC1382C5 for ; Thu, 26 Nov 2020 20:03:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6401E0869; Thu, 26 Nov 2020 20:03:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A061BE0869 for ; Thu, 26 Nov 2020 20:03:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C48E340FD8 for ; Thu, 26 Nov 2020 20:03:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CFAA435 for ; Thu, 26 Nov 2020 20:03:17 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1606420991.4e754e319d2f3feb553e50ff74a2dda81abf03f0.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-devel/gcc/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: sys-devel/gcc/gcc-10.1.0-r1.ebuild X-VCS-Directories: sys-devel/gcc/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 4e754e319d2f3feb553e50ff74a2dda81abf03f0 X-VCS-Branch: master Date: Thu, 26 Nov 2020 20:03:17 +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: 69f3ff62-3bb5-485c-89e0-1d9870c7a288 X-Archives-Hash: 3034fa426eab261899fd255e7f7d8e23 commit: 4e754e319d2f3feb553e50ff74a2dda81abf03f0 Author: Fabian Groffen gentoo org> AuthorDate: Thu Nov 26 20:03:11 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Nov 26 20:03:11 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4e754e31 sys-devel/gcc-10.1.0-r1: avoid -lc linkage on Big Sur Bug: https://bugs.gentoo.org/756160 Package-Manager: Portage-3.0.10-prefix, Repoman-3.0.2 RepoMan-Options: --force Signed-off-by: Fabian Groffen gentoo.org> sys-devel/gcc/gcc-10.1.0-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-devel/gcc/gcc-10.1.0-r1.ebuild b/sys-devel/gcc/gcc-10.1.0-r1.ebuild index 5199c4b836..99d7996d72 100644 --- a/sys-devel/gcc/gcc-10.1.0-r1.ebuild +++ b/sys-devel/gcc/gcc-10.1.0-r1.ebuild @@ -49,7 +49,12 @@ src_prepare() { eapply -p1 "${FILESDIR}"/${PN}-10.1.0-macos-bigsur.patch find . -name "configure" | xargs \ sed -i -e '/^\s*10\.\*)/N' \ - -e '/^\s*10\.\*)\s*_lt_dar_allow_undefined/s/10\.\*/10.*|11.*/' + -e '/^\s*10\.\*)\s*_lt_dar_allow_undefined/s/10\.\*/10.*|11.*/' || die + if [[ ${CHOST} == *-darwin20 ]] ; then + # drop -lc, it isn't there (any more?) + sed -i -e '/^SHLIB_LC =/s/=.*$/=/' \ + libgcc/config/t-slibgcc-darwin || die + fi # fix complaint about Authorization Framework eapply -p1 "${FILESDIR}"/${PN}-10.1.0-darwin-auth-fixincludes.patch