SHA256
1
0
forked from pool/binutils
Richard Biener 2011-01-11 14:35:20 +00:00 committed by Git OBS Bridge
parent 5afac475fd
commit e468d07813

View File

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