diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-22 18:05:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-22 18:05:06 +0000 |
commit | 0138501213f140198abdead3ffa6b3ba80462c98 (patch) | |
tree | 4720bec98938f740a4bb8b88ebdba1bbf4cbabf7 /meta/conf/bitbake.conf | |
parent | 066e96a9bab0b9889b7935f9a1eb4cfc5b157c7b (diff) | |
download | openembedded-core-0138501213f140198abdead3ffa6b3ba80462c98.tar.gz openembedded-core-0138501213f140198abdead3ffa6b3ba80462c98.tar.bz2 openembedded-core-0138501213f140198abdead3ffa6b3ba80462c98.zip |
poky-external.inc: Change the way the sysroot option is passed about to deal with libtool
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3208 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 166d986862..31e3e2979b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -297,12 +297,13 @@ export PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${layout_sbi ################################################################## CCACHE = "${@bb.which(bb.data.getVar('PATH', d), 'ccache') and 'ccache '}" +TOOLCHAIN_OPTIONS = "" -export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" -export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}" -export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}" -export CPP = "${HOST_PREFIX}gcc -E" -export LD = "${HOST_PREFIX}ld" +export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" +export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" +export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" +export CPP = "${HOST_PREFIX}gcc -E${TOOLCHAIN_OPTIONS}" +export LD = "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS}" export CCLD = "${CC}" export AR = "${HOST_PREFIX}ar" export AS = "${HOST_PREFIX}as" |