[oe-commits] Khem Raj : gcc-configure-common: Use build time sysroot for target gcc
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 13 10:57:29 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: d132bcc41d9956f8cc171e34232d991e2b444689
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d132bcc41d9956f8cc171e34232d991e2b444689
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Jun 12 15:11:36 2012 -0700
gcc-configure-common: Use build time sysroot for target gcc
Otherwise it assumes / as sysroot on build host and starts
searching for directories in there.
[RP: Tweak to add missing = for consistent syntax]
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-devtools/gcc/gcc-configure-target.inc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 1ee7504..b1ac4ff 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
@@ -1,4 +1,6 @@
require gcc-configure-common.inc
EXTRA_OECONF_PATHS = " \
+ --with-sysroot=\
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
--with-gxx-include-dir=${includedir}/c++/"
More information about the Openembedded-commits
mailing list