commit:     a1881edb9917d7177068fce1857d01470c515cd0
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 13:11:17 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 20:36:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a1881edb

sys-devel/gcc-13.2.0: bring back no-libs-for-startfile patch

This patch is essential to make the compiler work in our toolchain.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/gcc/gcc-13.2.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-devel/gcc/gcc-13.2.0.ebuild b/sys-devel/gcc/gcc-13.2.0.ebuild
index 9b60261dd7..7d4abab95f 100644
--- a/sys-devel/gcc/gcc-13.2.0.ebuild
+++ b/sys-devel/gcc/gcc-13.2.0.ebuild
@@ -43,6 +43,9 @@ src_unpack() {
 }
 
 src_prepare() {
+       # make sure 64-bits native targets don't screw up the linker paths
+       eapply "${FILESDIR}"/gcc-12-no-libs-for-startfile.patch
+
        if [[ ${CHOST} == *-darwin* ]] ; then
                # https://bugs.gentoo.org/898610#c17
                # kill no_pie patch, it breaks things here

Reply via email to