summaryrefslogtreecommitdiff
path: root/meta/packages/glibc/glibc-initial.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc-initial.inc')
-rw-r--r--meta/packages/glibc/glibc-initial.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/glibc/glibc-initial.inc b/meta/packages/glibc/glibc-initial.inc
index 288cb082a5..e30e86b5e8 100644
--- a/meta/packages/glibc/glibc-initial.inc
+++ b/meta/packages/glibc/glibc-initial.inc
@@ -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.