]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
glibc: fix build with new patches.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Oct 2014 19:57:36 +0000 (21:57 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 23 Oct 2014 19:57:36 +0000 (21:57 +0200)
lfs/glibc

index ee332c40f0ade2e9316a7d3b7a771cd6c8b6e6e0..194f5565ee000d0ab417879a306ef7d7799d6250 100644 (file)
--- 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|' \