From 91071982692c6dd8da9894e3180cd7bb5b4d290e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 12 Nov 2016 08:10:01 -0500 Subject: [PATCH] It turns out ppc has no gold So use gold on arm/i686/amd64 only. --- pypy3.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pypy3.spec b/pypy3.spec index 16d5f46..837273b 100644 --- a/pypy3.spec +++ b/pypy3.spec @@ -311,7 +311,9 @@ find lib-python/%{pylibver} -name "*.py" -exec \ "{}" \ \; -sed -i -r 's/\$\(LDFLAGSEXTRA\)/& -fuse-ld=gold/' ./rpython/translator/platform/posix.py +%ifarch %{ix86} x86_64 %{arm} + sed -i -r 's/\$\(LDFLAGSEXTRA\)/& -fuse-ld=gold/' ./rpython/translator/platform/posix.py +%endif %build # Top memory usage is about 4.5GB on arm7hf