[binutils/f16] Rebuild libopcodes.a with -fPIC. (BZ 7344315)

Nicholas Clifton nickc at fedoraproject.org
Fri Sep 30 15:23:50 UTC 2011


commit 7b3670754711ee02d2ae9d20eac9428277c43322
Author: Nick Clifton <nickc at redhat.com>
Date:   Fri Sep 30 16:24:01 2011 +0100

    Rebuild libopcodes.a with -fPIC. (BZ 7344315)

 binutils.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 7615e4f..3b7665f 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.53.0.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv3+
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -247,9 +247,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}*
 
@@ -424,6 +429,9 @@ exit 0
 %endif # %{isnative}
 
 %changelog
+* Fri Sep  30 2011 Ricky Zhou <ricky at fedoraproject.org> - 2.21.53.0.1-5
+- Rebuild libopcodes.a with -fPIC. (BZ 7344315)
+
 * Fri Aug  12 2011 Nick Clifton <nickc at redhat.com> - 2.21.53.0.1-4
 - Import patch to fix demangling of template arguments.  (BZ 730225)
 


More information about the scm-commits mailing list