summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-01 23:28:04 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-01 23:28:04 +0100
commit2557eb18824a549b5d74a4a48927c43356d3a8b2 (patch)
tree2e6debd6d84201cabba51c3461f8ff96829a9ddf /meta/packages
parentbdbabcba8d6b6206f94a57d1b3d953969569269b (diff)
downloadopenembedded-core-2557eb18824a549b5d74a4a48927c43356d3a8b2.tar.gz
openembedded-core-2557eb18824a549b5d74a4a48927c43356d3a8b2.tar.bz2
openembedded-core-2557eb18824a549b5d74a4a48927c43356d3a8b2.tar.xz
openembedded-core-2557eb18824a549b5d74a4a48927c43356d3a8b2.zip
meta-toolchain: Set --build flag to configure in CONFIGURE_FLAGS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/meta/meta-toolchain.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb
index 52567844f..b327d8fcb 100644
--- a/meta/packages/meta/meta-toolchain.bb
+++ b/meta/packages/meta/meta-toolchain.bb
@@ -108,7 +108,7 @@ do_populate_sdk() {
echo 'export PKG_CONFIG_PATH=${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script
echo 'export CONFIG_SITE=${SDK_PREFIX}/site-config' >> $script
echo 'export CC=${TARGET_PREFIX}gcc' >> $script
- echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS}"' >> $script
+ echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script
if [ "${TARGET_OS}" = "darwin8" ]; then
echo 'export TARGET_CFLAGS="-I${SDK_PREFIX}/${TARGET_SYS}${layout_includedir}"' >> $script
echo 'export TARGET_LDFLAGS="-L${SDK_PREFIX}/${TARGET_SYS}${layout_libdir}"' >> $script