1 |
commit: 60a1a12bb194551d225f12a18eb099e3aeabea4d |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 14 21:13:18 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 14 21:13:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=60a1a12b |
7 |
|
8 |
sys-devel/gcc: backport gcc-pure64.patch to gcc-8.2.0 |
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.2.0-r6.ebuild | 3 +++ |
14 |
sys-devel/gcc/gcc-8.3.0.ebuild | 3 +++ |
15 |
2 files changed, 6 insertions(+) |
16 |
|
17 |
diff --git a/sys-devel/gcc/gcc-8.2.0-r6.ebuild b/sys-devel/gcc/gcc-8.2.0-r6.ebuild |
18 |
index 9d37041..3b0093a 100644 |
19 |
--- a/sys-devel/gcc/gcc-8.2.0-r6.ebuild |
20 |
+++ b/sys-devel/gcc/gcc-8.2.0-r6.ebuild |
21 |
@@ -25,5 +25,8 @@ src_prepare() { |
22 |
if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then |
23 |
epatch "${FILESDIR}"/6.3.0/cpu_indicator.patch |
24 |
epatch "${FILESDIR}"/7.1.0/posix_memalign.patch |
25 |
+ case $(tc-arch) in |
26 |
+ amd64|arm64) epatch "${FILESDIR}"/8.3.0/gcc-pure64.patch ;; |
27 |
+ esac |
28 |
fi |
29 |
} |
30 |
|
31 |
diff --git a/sys-devel/gcc/gcc-8.3.0.ebuild b/sys-devel/gcc/gcc-8.3.0.ebuild |
32 |
index 269083e..33f446c 100644 |
33 |
--- a/sys-devel/gcc/gcc-8.3.0.ebuild |
34 |
+++ b/sys-devel/gcc/gcc-8.3.0.ebuild |
35 |
@@ -24,5 +24,8 @@ src_prepare() { |
36 |
if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then |
37 |
epatch "${FILESDIR}"/6.3.0/cpu_indicator.patch |
38 |
epatch "${FILESDIR}"/7.1.0/posix_memalign.patch |
39 |
+ case $(tc-arch) in |
40 |
+ amd64|arm64) epatch "${FILESDIR}"/8.3.0/gcc-pure64.patch ;; |
41 |
+ esac |
42 |
fi |
43 |
} |