glibc-2.5 initial: hide the 2.3 inheritance a bit better
authorKoen Kooi <koen@openembedded.org>
Thu, 4 Jan 2007 18:57:18 +0000 (18:57 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 4 Jan 2007 18:57:18 +0000 (18:57 +0000)
packages/glibc/glibc-initial_2.5.bb

index b6bf3ec..64f8d4a 100644 (file)
@@ -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.