1 |
commit: 923dace4203bf4d94b18a9f98600280a15ca7d95 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 13 21:42:33 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 13 21:42:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=923dace4 |
7 |
|
8 |
sys-devel/gcc: limit gcc-pure64 to just 64-bit arches |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
sys-devel/gcc/gcc-8.3.0-r1.ebuild | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/sys-devel/gcc/gcc-8.3.0-r1.ebuild b/sys-devel/gcc/gcc-8.3.0-r1.ebuild |
17 |
index 313196d..82f8c1c 100644 |
18 |
--- a/sys-devel/gcc/gcc-8.3.0-r1.ebuild |
19 |
+++ b/sys-devel/gcc/gcc-8.3.0-r1.ebuild |
20 |
@@ -24,7 +24,9 @@ src_prepare() { |
21 |
if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then |
22 |
eapply "${FILESDIR}"/6.3.0/cpu_indicator.patch |
23 |
eapply "${FILESDIR}"/7.1.0/posix_memalign.patch |
24 |
- eapply "${FILESDIR}"/8.3.0/gcc-pure64.patch |
25 |
+ case $(tc-arch) in |
26 |
+ amd64|arm64) eapply "${FILESDIR}"/8.3.0/gcc-pure64.patch ;; |
27 |
+ esac |
28 |
fi |
29 |
|
30 |
eapply_user |