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