summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-05-12 23:06:33 +0400
committerRoman I Khimov <khimov@altell.ru>2009-05-13 08:44:41 +0400
commit2dc37922414891d73e4d0033fd2dfb7c1d5154dd (patch)
treee40423e2bb491138570646100cd50ead08dc594e
parent03807013112d99a88cbda7c1f5432f7acf95c04c (diff)
glibc 2.7/2.9: add march-i686.patch
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>
-rw-r--r--recipes/glibc/glibc_2.7.bb3
-rw-r--r--recipes/glibc/glibc_2.9.bb3
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes/glibc/glibc_2.7.bb b/recipes/glibc/glibc_2.7.bb
index ec4b347713..8ae84c1c7e 100644
--- a/recipes/glibc/glibc_2.7.bb
+++ b/recipes/glibc/glibc_2.7.bb
@@ -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 \
"
diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb
index 0af9f263d5..7859876cb0 100644
--- a/recipes/glibc/glibc_2.9.bb
+++ b/recipes/glibc/glibc_2.9.bb
@@ -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 \
"