commit 53c562ae1789bf8d612b85f244648f01aabd9a76 Author: Kalev Lember <ka...@smartlink.ee> Date: Mon Nov 22 18:34:24 2010 +0200
Enable auto_import by default (#629209) binutils-2.20.1-enable-auto-import.patch | 13 +++++++++++++ mingw32-binutils.spec | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletions(-) --- diff --git a/binutils-2.20.1-enable-auto-import.patch b/binutils-2.20.1-enable-auto-import.patch new file mode 100644 index 0000000..360b358 --- /dev/null +++ b/binutils-2.20.1-enable-auto-import.patch @@ -0,0 +1,13 @@ +diff -up binutils-2.20.1/ld/emultempl/pe.em.auto_import binutils-2.20.1/ld/emultempl/pe.em +--- binutils-2.20.1/ld/emultempl/pe.em.auto_import 2010-11-22 18:20:18.000000000 +0200 ++++ binutils-2.20.1/ld/emultempl/pe.em 2010-11-22 18:21:46.000000000 +0200 +@@ -154,6 +154,9 @@ case ${target} in + *-*-cygwin*) + default_auto_import=1 + ;; ++ i[3-7]86-*-mingw* | x86_64-*-mingw*) ++ default_auto_import=1 ++ ;; + *) + default_auto_import=-1 + ;; diff --git a/mingw32-binutils.spec b/mingw32-binutils.spec index 318e632..5332f4e 100644 --- a/mingw32-binutils.spec +++ b/mingw32-binutils.spec @@ -1,12 +1,14 @@ Name: mingw32-binutils Version: 2.20.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: MinGW Windows binutils License: GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+ Group: Development/Libraries URL: http://www.gnu.org/software/binutils/ Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2 +# Enable auto_import by default (#629209) +Patch0: binutils-2.20.1-enable-auto-import.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex @@ -25,6 +27,7 @@ understand Windows executables and DLLs. %prep %setup -q -n binutils-%{version} +%patch0 -p1 -b .auto_import %build @@ -70,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Nov 22 2010 Kalev Lember <ka...@smartlink.ee> - 2.20.1-2 +- Enable auto_import by default (#629209) + * Thu May 13 2010 Kalev Lember <ka...@smartlink.ee> - 2.20.1-1 - Update to 2.20.1 _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw