Enable gold plugins. (BZ 682852)
This commit is contained in:
parent
697bf30baa
commit
4fe5c928d2
40
binutils-2.21.51.0.6-gold-plugins.patch
Normal file
40
binutils-2.21.51.0.6-gold-plugins.patch
Normal file
@ -0,0 +1,40 @@
|
||||
diff -cpr ../binutils-2.21.51.0.6.orig/gold/configure gold/configure
|
||||
*** ../binutils-2.21.51.0.6.orig/gold/configure 2011-03-08 15:58:55.297802999 +0000
|
||||
--- gold/configure 2011-03-08 15:59:57.628801736 +0000
|
||||
*************** if test "${enable_plugins+set}" = set; t
|
||||
*** 3317,3323 ****
|
||||
*) plugins=yes ;;
|
||||
esac
|
||||
else
|
||||
! plugins=no
|
||||
fi
|
||||
|
||||
if test "$plugins" = "yes"; then
|
||||
--- 3317,3323 ----
|
||||
*) plugins=yes ;;
|
||||
esac
|
||||
else
|
||||
! plugins=yes
|
||||
fi
|
||||
|
||||
if test "$plugins" = "yes"; then
|
||||
diff -cpr ../binutils-2.21.51.0.6.orig/gold/configure.ac gold/configure.ac
|
||||
*** ../binutils-2.21.51.0.6.orig/gold/configure.ac 2011-03-08 15:58:55.326802999 +0000
|
||||
--- gold/configure.ac 2011-03-08 15:59:29.479803846 +0000
|
||||
*************** AC_ARG_ENABLE([plugins],
|
||||
*** 93,99 ****
|
||||
no) plugins=no ;;
|
||||
*) plugins=yes ;;
|
||||
esac],
|
||||
! [plugins=no])
|
||||
if test "$plugins" = "yes"; then
|
||||
AC_DEFINE(ENABLE_PLUGINS, 1,
|
||||
[Define to enable linker plugins])
|
||||
--- 93,99 ----
|
||||
no) plugins=no ;;
|
||||
*) plugins=yes ;;
|
||||
esac],
|
||||
! [plugins=yes])
|
||||
if test "$plugins" = "yes"; then
|
||||
AC_DEFINE(ENABLE_PLUGINS, 1,
|
||||
[Define to enable linker plugins])
|
@ -17,7 +17,7 @@
|
||||
Summary: A GNU collection of binary utilities
|
||||
Name: %{?cross}binutils%{?_with_debug:-debug}
|
||||
Version: 2.21.51.0.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Development/Tools
|
||||
URL: http://sources.redhat.com/binutils
|
||||
@ -31,6 +31,7 @@ Patch05: binutils-2.20.51.0.2-set-long-long.patch
|
||||
Patch06: binutils-2.20.51.0.10-copy-osabi.patch
|
||||
Patch07: binutils-2.20.51.0.10-sec-merge-emit.patch
|
||||
Patch08: binutils-2.20.51.0.2-build-id.patch
|
||||
Patch09: binutils-2.21.51.0.6-gold-plugins.patch
|
||||
|
||||
%define gold_arches %ix86 x86_64
|
||||
|
||||
@ -129,6 +130,7 @@ using libelf instead of BFD.
|
||||
%patch06 -p0 -b .copy-osabi~
|
||||
%patch07 -p0 -b .sec-merge-emit~
|
||||
%patch08 -p0 -b .build-id~
|
||||
%patch09 -p0 -b .gold-plugins~
|
||||
|
||||
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
||||
|
||||
@ -417,6 +419,9 @@ exit 0
|
||||
%endif # %{isnative}
|
||||
|
||||
%changelog
|
||||
* Tue Mar 08 2011 Nick Clifton <nickc@redhat.com> - 2.21.51.0.6-2
|
||||
- Enable gold plugins. (BZ 682852)
|
||||
|
||||
* Thu Feb 10 2011 Nick Clifton <nickc@redhat.com> - 2.21.51.0.6-1
|
||||
- Rebase on 2.21.51.0.6 tarball.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user