]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc-initial.inc: Fix bogus header directory reference
authorRichard Purdie <richard@openedhand.com>
Wed, 14 Nov 2007 22:31:45 +0000 (22:31 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 14 Nov 2007 22:31:45 +0000 (22:31 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3168 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/glibc/glibc-initial.inc

index 288cb082a55ef202cd8d5686c1a43ecbf954f244..e30e86b5e896b1349493a9be1f9d7dd9fcfab09d 100644 (file)
@@ -11,7 +11,7 @@ do_configure () {
        chmod +x ${S}/configure
        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 \
+               --with-headers=${STAGING_DIR_TARGET}${layout_includedir} \
                --enable-hacker-mode
        if grep -q GLIBC_2.3 ${S}/ChangeLog; then
                # glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler.