commit:     923dace4203bf4d94b18a9f98600280a15ca7d95
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 21:42:33 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 21:42:33 2019 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=923dace4

sys-devel/gcc: limit gcc-pure64 to just 64-bit arches

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-devel/gcc/gcc-8.3.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

Reply via email to