1 |
commit: fa910aedad94df79b9f4d3a322056c23230ca445 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 7 19:16:16 2021 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 19:16:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=fa910aed |
7 |
|
8 |
sys-devel/gcc-11: fix build on arm64-macos |
9 |
|
10 |
Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
|
13 |
sys-devel/gcc/gcc-11_pre20200206.ebuild | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/gcc/gcc-11_pre20200206.ebuild b/sys-devel/gcc/gcc-11_pre20200206.ebuild |
17 |
index 4db1e5c92f..e1bfc2eb77 100644 |
18 |
--- a/sys-devel/gcc/gcc-11_pre20200206.ebuild |
19 |
+++ b/sys-devel/gcc/gcc-11_pre20200206.ebuild |
20 |
@@ -47,6 +47,12 @@ src_prepare() { |
21 |
sed -i -e 's|^ifeq (/usr/lib,|ifneq (/usr/lib,|' \ |
22 |
libgcc/config/t-slibgcc-darwin || die |
23 |
fi |
24 |
+ |
25 |
+ # fixup a what seems to be a typo, we need this at least to finish |
26 |
+ # compilation on arm64-macos during bootstrap as gmp.h else won't be |
27 |
+ # found |
28 |
+ sed -i -e 's/ALL_SPPFLAGS/ALL_CPPFLAGS/' \ |
29 |
+ gcc/config/aarch64/t-aarch64 || die |
30 |
} |
31 |
|
32 |
src_configure() { |