From 7df7256923aac782031a191b802d50cd8ecf738a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sep 30 2011 15:27:13 +0000 Subject: Rebuild libopcodes.a with -fPIC. (BZ 7344315) --- diff --git a/binutils.spec b/binutils.spec index 451d353..2ed6780 100644 --- a/binutils.spec +++ b/binutils.spec @@ -17,7 +17,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.21.51.0.6 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -250,9 +250,14 @@ make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty make -C bfd clean make CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd +# Rebuild libopcodes.a with -fPIC. +make -C opcodes clean +make CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes + install -m 644 bfd/libbfd.a %{buildroot}%{_libdir} install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir} install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include +install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir} # Remove Windows/Novell only man pages rm -f %{buildroot}%{_mandir}/man1/{dlltool,nlmconv,windres}* @@ -427,6 +432,9 @@ exit 0 %endif # %{isnative} %changelog +* Fri Sep 30 2011 Ricky Zhou - 2.21.51.0.6-9 +- Rebuild libopcodes.a with -fPIC. (BZ 7344315) + * Fri Sep 30 2011 Nick Clifton - 2.21.51.0.6-8 - Fix choice of section size. (BZ 741053)