[arm-gp2x-linux-binutils] - Fix building with latest make (#631393)

Hans de Goede jwrdegoede at fedoraproject.org
Wed Sep 8 11:09:53 UTC 2010


commit cf68203cfb624bb5991e3c660c584f1eced72331
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Wed Sep 8 11:15:50 2010 +0200

    - Fix building with latest make (#631393)

 arm-gp2x-linux-binutils.spec |    7 ++++++-
 binutils-2.16.1-make.patch   |   20 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/arm-gp2x-linux-binutils.spec b/arm-gp2x-linux-binutils.spec
index c55dd52..78fe8fe 100644
--- a/arm-gp2x-linux-binutils.spec
+++ b/arm-gp2x-linux-binutils.spec
@@ -2,7 +2,7 @@
 
 Name:           %{target}-binutils
 Version:        2.16.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Cross Compiling GNU binutils targeted at %{target}
 Group:          Development/Tools
 License:        GPLv2+
@@ -15,6 +15,7 @@ Patch2:         http://kegel.com/crosstool/crosstool-0.43/patches/binutils-2.16.
 Patch3:         binutils-2.16.1-fortify-source.patch
 Patch4:         binutils-2.16.1-open.patch
 Patch5:         binutils-2.16.1-fortify-source-2.patch
+Patch6:         binutils-2.16.1-make.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 
 %description
@@ -32,6 +33,7 @@ pushd binutils-%{version}
 %patch3 -p1
 %patch4 -p1
 %patch5 -p2
+%patch6 -p1
 popd
 cp %{SOURCE1} .
 
@@ -72,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Sep  8 2010 Hans de Goede <hdegoede at redhat.com> 2.16.1-9
+- Fix building with latest make (#631393)
+
 * Thu Nov 19 2009 Hans de Goede <hdegoede at redhat.com> 2.16.1-8
 - Fix buffer overflows in ar (#538869)
 
diff --git a/binutils-2.16.1-make.patch b/binutils-2.16.1-make.patch
new file mode 100644
index 0000000..c378e22
--- /dev/null
+++ b/binutils-2.16.1-make.patch
@@ -0,0 +1,20 @@
+diff -up binutils-2.16.1/gprof/Makefile.in~ binutils-2.16.1/gprof/Makefile.in
+--- binutils-2.16.1/gprof/Makefile.in~	2010-09-08 11:09:25.309811404 +0200
++++ binutils-2.16.1/gprof/Makefile.in	2010-09-08 11:08:56.785924123 +0200
+@@ -957,6 +957,16 @@ mips.o: mips.c gprof.h $(BFDDIR)/sysdep.
+ flat_bl.o: flat_bl.c $(INCDIR)/ansidecl.h
+ bsd_callg_bl.o: bsd_callg_bl.c $(INCDIR)/ansidecl.h
+ fsf_callg_bl.o: fsf_callg_bl.c $(INCDIR)/ansidecl.h
++
++flat_bl.o: flat_bl.c
++	$(COMPILE) -c $<
++
++bsd_callg_bl.o: bsd_callg_bl.c
++	$(COMPILE) -c $<
++
++fsf_callg_bl.o: fsf_callg_bl.c
++	$(COMPILE) -c $<
++
+ # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.


More information about the scm-commits mailing list