X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fglibc;h=bbf58e80979ce741f0c85a6d82a953d09b36618f;hb=9098b1e1c0f170b51620b8bc63118b89a038dfc6;hp=4ec71a788e6bf683d0204112c622621c34e1eeaf;hpb=85a6f39c39385d3867a95b037adfd601718735c5;p=ipfire-2.x.git diff --git a/lfs/glibc b/lfs/glibc index 4ec71a788e..bbf58e8097 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -285,11 +285,14 @@ endif cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc/glibc-rh1183533.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc/glibc-rh1207995.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc/glibc-rh1209375.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc/glibc-rh1217186.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc-resolv-stack_chk_fail.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc-remove-ctors-dtors-output-sections.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc-test-installation.pl-nss_test1.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc-test-installation.pl-libgcc_s.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc-2.12-accept-make-versions-4.0-and-greater.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc/glibc-mq_open.patch # Fixes: # Makefile:235: *** mixed implicit and normal rules. Stop. @@ -304,10 +307,15 @@ ifeq "$(ROOT)" "" ifeq "$(MACHINE_TYPE)" "arm" cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.3 -o|' \ scripts/test-installation.pl +else +ifeq "$(MACHINE)" "x86_64" + cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib64 -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2 -o|' \ + scripts/test-installation.pl else cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \ scripts/test-installation.pl endif +endif endif cd $(DIR_SRC)/glibc-build && \ @@ -337,6 +345,8 @@ ifeq "$(ROOT)" "" # Timezone data will be shipped by tzdata. rm -rfv /usr/share/zoneinfo +else + ln -svf lib /tools/lib64 endif @rm -rf $(DIR_APP) $(DIR_SRC)/glibc-build @$(POSTBUILD)