From c409c335266ae7880bdd1c4712102935724d9c94 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 26 Oct 2014 16:37:44 +0100 Subject: [PATCH] glibc: fix build on intel platform. --- lfs/glibc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lfs/glibc b/lfs/glibc index 194f5565ee..df3e39224f 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -284,8 +284,10 @@ endif # Makefile:235: *** mixed implicit and normal rules. Stop. cd $(DIR_APP) && sed -i 's/ot \$$/ot:\n\ttouch $$@\n$$/' manual/Makefile +ifeq "$(MACHINE_TYPE)" "arm" # 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 +endif ifeq "$(ROOT)" "" ifeq "$(MACHINE_TYPE)" "arm" -- 2.39.2