summaryrefslogtreecommitdiff
path: root/packages/glibc
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2006-12-01 19:22:06 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2006-12-01 19:22:06 +0000
commit3169d414181ab6011dd6e1b672bbaa7ecb9b9afe (patch)
tree344ae8a21f1390a42f3140333cc93231750275b0 /packages/glibc
parent16248701f65929ae1c5c4f6b714465dd9a0dd665 (diff)
Fix to allow glibc 2.3.5 to compile for powerpc arch
Diffstat (limited to 'packages/glibc')
-rw-r--r--packages/glibc/glibc_2.3.5+cvs20050627.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb
index 918fa810d8..8e86c6457b 100644
--- a/packages/glibc/glibc_2.3.5+cvs20050627.bb
+++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb
@@ -6,7 +6,7 @@ PRIORITY = "required"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5"
SRCDATE = "20050627"
-PR = "r12"
+PR = "r13"
#Doesnt build for sh3
DEFAULT_PREFERENCE_sh3="-1"
@@ -87,6 +87,9 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}"
+#avoid too much optimization on ppc
+CFLAGS_dht-walnut += " -O1 -g0 -fPIC -fno-inline-functions -fno-unit-at-a-time "
+
do_munge() {
# Integrate ports into tree
mv ${WORKDIR}/ports ${S}