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:07:31 +0000 (15:07 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 8 Feb 2012 15:07:31 +0000 (15:07 +0000)
Makefile
work/glibc-2.10.1-make382.patch [new file with mode: 0644]

index 7f4ea6c7286287d75ef449bf6a775e9c7212512f..c88b33facaa1da1aa64d88927722b2d21df2393e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -176,6 +176,7 @@ $(WORK)/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 $@