From dce7423011c8bfda3447387629e095de34cf6baf Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 8 Feb 2012 15:10:13 +0000 Subject: [PATCH] Added patch to build toolchain with make 3.82 --- Makefile | 2 +- work/glibc-2.10.1-make382.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 work/glibc-2.10.1-make382.patch diff --git a/Makefile b/Makefile index aea2b53..5af5d60 100644 --- a/Makefile +++ b/Makefile @@ -174,9 +174,9 @@ $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2: $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2: wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-ports-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 - tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 cd $(WORK)/glibc-$(GLIBC_VERSION) && \ + patch -p1 -i $(WORK)/glibc-$(GLIBC_VERSION)-make382.patch && \ tar xvjf $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 && \ mv glibc-ports-$(GLIBC_VERSION) ports && \ sed -e 's/-lgcc_eh//g' -i Makeconfig diff --git a/work/glibc-2.10.1-make382.patch b/work/glibc-2.10.1-make382.patch new file mode 100644 index 0000000..a5b6786 --- /dev/null +++ b/work/glibc-2.10.1-make382.patch @@ -0,0 +1,13 @@ +--- glibc-2.10.1_orig/manual/Makefile 2012-02-08 08:05:11.777529411 +0000 ++++ glibc-2.10.1/manual/Makefile 2012-02-08 08:06:46.189531779 +0000 +@@ -232,7 +232,9 @@ + .PHONY: stubs + stubs: $(objpfx)stubs + endif +-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: ++$(objpfx)stubs ../po/manual.pot: ++ touch $@ ++$(objpfx)stamp%: + $(make-target-directory) + touch $@ + -- 2.26.2