diff --git a/binutils.spec b/binutils.spec index 8ff4639..a29282a 100644 --- a/binutils.spec +++ b/binutils.spec @@ -427,14 +427,14 @@ cd build-dir # installing native binutils %ifarch %gold_archs make DESTDIR=$RPM_BUILD_ROOT install-gold -ln -sf gold $RPM_BUILD_ROOT%{_bindir}/ld.gold +ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold %endif make DESTDIR=$RPM_BUILD_ROOT install-info install make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld $RPM_BUILD_ROOT%{_bindir}/ld.bfd; + ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; fi rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin