CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added patch to build toolchain with make 3.82
authorVictor Martinez <pitillo@ono.com>
Wed, 8 Feb 2012 15:10:13 +0000 (15:10 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 8 Feb 2012 15:10:13 +0000 (15:10 +0000)
Makefile
work/glibc-2.10.1-make382.patch [new file with mode: 0644]

index aea2b535d8c2770ccc859c7da4008205eb68fd1d..5af5d60c932da461da1503e761d71101ecc786f7 100644 (file)
--- 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 (file)
index 0000000..a5b6786
--- /dev/null
@@ -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 $@