From: Michael Tremer Date: Thu, 23 Oct 2014 19:57:36 +0000 (+0200) Subject: glibc: fix build with new patches. X-Git-Tag: v2.17-core87~103^2~43^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=541fb9a8a1296676ef7d052dd975c5eac77d748f;p=ipfire-2.x.git glibc: fix build with new patches. --- diff --git a/lfs/glibc b/lfs/glibc index ee332c40f0..194f5565ee 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -284,6 +284,9 @@ endif # Makefile:235: *** mixed implicit and normal rules. Stop. cd $(DIR_APP) && sed -i 's/ot \$$/ot:\n\ttouch $$@\n$$/' manual/Makefile + # http://sourceware.org/ml/libc-ports/2011-09/msg00018.html + cd $(DIR_APP) && sed -e "s/PIC/SHARED/g" -i ports/sysdeps/arm/{,eabi/}{set,__long}jmp.S + 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|' \