- rebuild libbfd.a with -fPIC for inclusion into shared libraries (#447426)
This commit is contained in:
parent
0e726c47dd
commit
76380b0e9e
|
@ -1,7 +1,7 @@
|
||||||
Summary: A GNU collection of binary utilities.
|
Summary: A GNU collection of binary utilities.
|
||||||
Name: binutils
|
Name: binutils
|
||||||
Version: 2.18.50.0.6
|
Version: 2.18.50.0.6
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://sources.redhat.com/binutils
|
URL: http://sources.redhat.com/binutils
|
||||||
|
@ -115,10 +115,14 @@ cd build-%{_target_platform}
|
||||||
make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
|
make prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir} install-info
|
||||||
gzip -q9f %{buildroot}%{_infodir}/*.info*
|
gzip -q9f %{buildroot}%{_infodir}/*.info*
|
||||||
|
|
||||||
# Rebuild libiberty.a with -fPIC
|
# Rebuild libiberty.a and libbfd.a with -fPIC
|
||||||
make -C libiberty clean
|
for SUBDIR in libiberty bfd
|
||||||
make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
|
do
|
||||||
|
make -C $SUBDIR clean
|
||||||
|
make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C $SUBDIR
|
||||||
|
done
|
||||||
|
|
||||||
|
install -m 644 bfd/libbfd.a %{buildroot}%{_prefix}/%{_lib}
|
||||||
install -m 644 libiberty/libiberty.a %{buildroot}%{_prefix}/%{_lib}
|
install -m 644 libiberty/libiberty.a %{buildroot}%{_prefix}/%{_lib}
|
||||||
install -m 644 ../include/libiberty.h %{buildroot}%{_prefix}/include
|
install -m 644 ../include/libiberty.h %{buildroot}%{_prefix}/include
|
||||||
# Remove Windows/Novell only man pages
|
# Remove Windows/Novell only man pages
|
||||||
|
@ -217,6 +221,9 @@ fi
|
||||||
%{_infodir}/bfd*info*
|
%{_infodir}/bfd*info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 16 2008 Jan Kratochvil <jan.kratochvil@redhat.com> 2.18.50.0.6-3
|
||||||
|
- rebuild libbfd.a with -fPIC for inclusion into shared libraries (#447426)
|
||||||
|
|
||||||
* Tue Apr 8 2008 Jakub Jelinek <jakub@redhat.com> 2.18.50.0.6-2
|
* Tue Apr 8 2008 Jakub Jelinek <jakub@redhat.com> 2.18.50.0.6-2
|
||||||
- backport .clmul -> .pclmul renaming
|
- backport .clmul -> .pclmul renaming
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue