From: Koen Kooi Date: Thu, 4 Jan 2007 18:57:18 +0000 (+0000) Subject: glibc-2.5 initial: hide the 2.3 inheritance a bit better X-Git-Tag: Release-2010-05/1~9453^2~24^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9183a5f1c820ee040a07323bd99f076cd311a4;p=openembedded.git glibc-2.5 initial: hide the 2.3 inheritance a bit better --- diff --git a/packages/glibc/glibc-initial_2.5.bb b/packages/glibc/glibc-initial_2.5.bb index b6bf3ece51..64f8d4a21e 100644 --- a/packages/glibc/glibc-initial_2.5.bb +++ b/packages/glibc/glibc-initial_2.5.bb @@ -9,11 +9,12 @@ PACKAGES = "" do_configure () { sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure chmod +x ${S}/configure + unset CFLAGS CC="${BUILD_CC}" CPP="${BUILD_CPP}" LD="${BUILD_LD}" ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ --without-cvs --disable-sanity-checks \ --with-headers=${CROSS_DIR}/${TARGET_SYS}/include \ --enable-hacker-mode - if grep -q GLIBC_2.3 ${S}/ChangeLog; then + if grep -q GLIBC_2.5 ${S}/ChangeLog; then # glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler. # Fortunately, we don't need errlist-compat.c, since we just need .h files, # so work around this by creating a fake errlist-compat.c and satisfying its dependencies.