mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 11:55:29 +00:00
bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
9e2600b6b9
commit
6124cccddf
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user