It turns out ppc has no gold

So use gold on arm/i686/amd64 only.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-11-12 08:10:01 -05:00
parent ad0d37c683
commit 9107198269
1 changed files with 3 additions and 1 deletions

View File

@ -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