glibc: fix build on intel platform.

This commit is contained in:
Arne Fitzenreiter
2014-10-26 16:37:44 +01:00
parent b76a0377be
commit c409c33526

View File

@@ -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"