1 |
commit: c04a06810781cd1447f7db68d59b2225b0f37a18 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 19:38:57 2020 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 19:38:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=c04a0681 |
7 |
|
8 |
sys-devel/gcc: Enable rv32 abis |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
sys-devel/gcc/gcc-10.2.0-r1.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/gcc/gcc-10.2.0-r1.ebuild b/sys-devel/gcc/gcc-10.2.0-r1.ebuild |
17 |
index 79c0680..2d2ebe5 100644 |
18 |
--- a/sys-devel/gcc/gcc-10.2.0-r1.ebuild |
19 |
+++ b/sys-devel/gcc/gcc-10.2.0-r1.ebuild |
20 |
@@ -11,3 +11,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~ |
21 |
|
22 |
RDEPEND="" |
23 |
BDEPEND="${CATEGORY}/binutils" |
24 |
+ |
25 |
+src_prepare() { |
26 |
+ has_version '>=sys-libs/glibc-2.32-r1' && rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch" |
27 |
+ toolchain_src_prepare |
28 |
+} |