forked from pool/binutils
This commit is contained in:
parent
5afac475fd
commit
e468d07813
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user