From: Richard Purdie Date: Thu, 12 Aug 2010 12:28:50 +0000 (+0100) Subject: bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONS X-Git-Tag: 2011-1~4959 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6124cccddfc202124fa76bb677ad3e06f0fefc70;p=openembedded-core.git bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONS Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 29dab544f7..dc68de2003 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -371,7 +371,7 @@ export PATH ################################################################## CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}" -TOOLCHAIN_OPTIONS = "" +TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"