Fix to allow glibc 2.3.5 to compile for powerpc arch
authorStelios Koroneos <skoroneos@digital-opsis.com>
Fri, 1 Dec 2006 19:22:06 +0000 (19:22 +0000)
committerStelios Koroneos <skoroneos@digital-opsis.com>
Fri, 1 Dec 2006 19:22:06 +0000 (19:22 +0000)
packages/glibc/glibc_2.3.5+cvs20050627.bb

index 918fa81..8e86c64 100644 (file)
@@ -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}