glibc 2.7/2.9: add march-i686.patch
authorRoman I Khimov <khimov@altell.ru>
Tue, 12 May 2009 19:06:33 +0000 (23:06 +0400)
committerRoman I Khimov <khimov@altell.ru>
Wed, 13 May 2009 04:44:41 +0000 (08:44 +0400)
This patch is there for 2.6.1, but for some reason was not carried on to
2.7 and 2.9. Without it build for i686 machine fails.

Acked-by: Denys Dmytriyenko <denis@denix.org>
recipes/glibc/glibc_2.7.bb
recipes/glibc/glibc_2.9.bb

index ec4b347..8ae84c1 100644 (file)
@@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm"
 PACKAGES_DYNAMIC = "libc6*"
 RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
 
-PR = "r9"
+PR = "r10"
 
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
@@ -67,6 +67,7 @@ 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://march-i686.patch;patch=1;pnum=0 \
            "
 
 
index 0af9f26..7859876 100644 (file)
@@ -5,6 +5,8 @@ ARM_INSTRUCTION_SET = "arm"
 PACKAGES_DYNAMIC = "libc6*"
 RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev"
 
+PR = "r1"
+
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
 TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${layout_includedir}"
@@ -58,6 +60,7 @@ 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://march-i686.patch;patch=1;pnum=0 \
            "