From 3169d414181ab6011dd6e1b672bbaa7ecb9b9afe Mon Sep 17 00:00:00 2001 From: Stelios Koroneos Date: Fri, 1 Dec 2006 19:22:06 +0000 Subject: Fix to allow glibc 2.3.5 to compile for powerpc arch --- packages/glibc/glibc_2.3.5+cvs20050627.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages') 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} -- cgit v1.2.3