commit:     8257ec94a7fe25205d4770b63c3cecb47ce8eced
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 26 19:20:56 2023 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Apr 26 19:20:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8257ec94

sys-devel/gcc-12.2.0-r1: drop no_pie patch for all of Darwin

Bug: https://bugs.gentoo.org/898610
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/gcc/gcc-12.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/gcc-12.2.0-r1.ebuild 
b/sys-devel/gcc/gcc-12.2.0-r1.ebuild
index 1bb4ef99c8..cae82d18d4 100644
--- a/sys-devel/gcc/gcc-12.2.0-r1.ebuild
+++ b/sys-devel/gcc/gcc-12.2.0-r1.ebuild
@@ -43,7 +43,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       if [[ ${CHOST} == arm64-apple-darwin* ]] ; then
+       if [[ ${CHOST} == *-darwin* ]] ; then
                # https://bugs.gentoo.org/898610#c17
                # kill no_pie patch, it breaks things here
                rm "${WORKDIR}"/patch/09_all_nopie-all-flags.patch || die

Reply via email to