summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-01-14 14:11:17 +0100
committerFabian Groffen <grobian@gentoo.org>2024-01-14 21:36:24 +0100
commita1881edb9917d7177068fce1857d01470c515cd0 (patch)
treed455613b33986383155e13a30460a628f6db1042 /sys-devel
parentscripts/bootstrap-prefix.sh: adapt to pkgmoves (diff)
downloadprefix-a1881edb9917d7177068fce1857d01470c515cd0.tar.gz
prefix-a1881edb9917d7177068fce1857d01470c515cd0.tar.bz2
prefix-a1881edb9917d7177068fce1857d01470c515cd0.zip
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@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/gcc-13.2.0.ebuild3
1 files changed, 3 insertions, 0 deletions
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