aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-04-13 17:42:33 -0400
committerAnthony G. Basile <blueness@gentoo.org>2019-04-13 17:42:33 -0400
commit923dace4203bf4d94b18a9f98600280a15ca7d95 (patch)
treeeb6770740b8664a13501203a4faf0cdd73791201 /sys-devel
parentsys-devel/gcc: fix patch again (diff)
downloadmusl-923dace4203bf4d94b18a9f98600280a15ca7d95.tar.gz
musl-923dace4203bf4d94b18a9f98600280a15ca7d95.tar.bz2
musl-923dace4203bf4d94b18a9f98600280a15ca7d95.zip
sys-devel/gcc: limit gcc-pure64 to just 64-bit arches
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/gcc-8.3.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-8.3.0-r1.ebuild b/sys-devel/gcc/gcc-8.3.0-r1.ebuild
index 313196d..82f8c1c 100644
--- a/sys-devel/gcc/gcc-8.3.0-r1.ebuild
+++ b/sys-devel/gcc/gcc-8.3.0-r1.ebuild
@@ -24,7 +24,9 @@ src_prepare() {
if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then
eapply "${FILESDIR}"/6.3.0/cpu_indicator.patch
eapply "${FILESDIR}"/7.1.0/posix_memalign.patch
- eapply "${FILESDIR}"/8.3.0/gcc-pure64.patch
+ case $(tc-arch) in
+ amd64|arm64) eapply "${FILESDIR}"/8.3.0/gcc-pure64.patch ;;
+ esac
fi
eapply_user