Newer versions of gcc have multiple internal header directories and when

glibc builds using -nostdinc, it must also add all these internal directories
via -system.

This adds a patch to make sure the toolchain's "include-fixed" directory gets
included in glibc_2.5 builds (if it exists)


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4612 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Robert Bragg
2008-06-07 01:07:18 +00:00
parent dd5ed4b3ad
commit 3dbb2c002e
2 changed files with 56 additions and 1 deletions

View File

@@ -54,7 +54,8 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \
file://generic-bits_time.h \
file://etc/ld.so.conf \
file://generate-supported.mk \
file://glibc-arm-no-procinfo_h.patch;patch=1"
file://glibc-arm-no-procinfo_h.patch;patch=1 \
file://glibc-include-fixed.patch;patch=1;pnum=0"
# Build fails on sh3 and sh4 without additional patches