CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Added and fixed glibc-2.12.1-pot.patch and Makefile
[toolchain-softfp.git] / Makefile
index 19f51c9140b233e5670b34bdbd875274960376af..3949d02a7a83993943a27601116b894b3f1cc850 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ $(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/g
        tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
        cd $(WORK)/glibc-$(GLIBC_VERSION) && \
                tar xvjf $(WORK)/glibc-ports-$(GLIBC_PORTS_VERSION).tar.bz2 && \
-               patch -p0 -i $(WORK)/glibc-$(GLIBC_VERSION)-pot.patch && \
+               patch -p1 -i $(WORK)/glibc-$(GLIBC_VERSION)-pot.patch && \
                mv glibc-ports-$(GLIBC_PORTS_VERSION) ports && \
                sed -e 's/-lgcc_eh//g' -i Makeconfig
        touch $(WORK)/glibc-$(GLIBC_VERSION)