summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-04-22 09:01:29 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-04-22 09:01:29 +0000
commit5357a941481e22c9f85a297ab4e77cbb9174e6cd (patch)
tree87cdbda252c64e7ae7affc33b7c6b1070db7e691 /meta
parent8bd2f3891320628b490c4035124bf8704ef49c45 (diff)
downloadopenembedded-core-5357a941481e22c9f85a297ab4e77cbb9174e6cd.tar.gz
openembedded-core-5357a941481e22c9f85a297ab4e77cbb9174e6cd.tar.bz2
openembedded-core-5357a941481e22c9f85a297ab4e77cbb9174e6cd.zip
uclibc: add STAGING_INCDIR to host C flags to make it build on systems without ncurses-dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4303 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/uclibc/uclibc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/uclibc/uclibc.inc b/meta/packages/uclibc/uclibc.inc
index 2c9530eadd..7f349a8bab 100644
--- a/meta/packages/uclibc/uclibc.inc
+++ b/meta/packages/uclibc/uclibc.inc
@@ -72,7 +72,7 @@ UCLIBC_STAGE_PREFIX = "${STAGING_DIR_HOST}${layout_prefix}"
# the CFLAGS (for when building the utils).
OEMAKE_NO_CC = "'OPTIMIZATION=' 'CPU_CFLAGS=${CFLAGS}' 'STRIPTOOL=true' 'LD=${LD}' \
'LOCALE_DATA_FILENAME=${UCLIBC_LOCALE_FILE}'"
-EXTRA_OEMAKE = "${OEMAKE_NO_CC} 'CC=${CC}'"
+EXTRA_OEMAKE = "${OEMAKE_NO_CC} 'CC=${CC}' HOSTCFLAGS="-I${STAGING_INCDIR}"
EXTRA_OEMAKE_task_do_populate_staging = "${OEMAKE_NO_CC}"
EXTRA_OEMAKE_task_do_package = "${OEMAKE_NO_CC}"