diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-12 15:11:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-13 11:49:18 +0100 |
commit | d132bcc41d9956f8cc171e34232d991e2b444689 (patch) | |
tree | 1ffff992cc57a6c58c1cc723a736d1ca41c0961f | |
parent | 5c257ee55f9e0dd66fc1bbd6e9c08918e8820178 (diff) | |
download | openembedded-core-d132bcc41d9956f8cc171e34232d991e2b444689.tar.gz openembedded-core-d132bcc41d9956f8cc171e34232d991e2b444689.tar.bz2 openembedded-core-d132bcc41d9956f8cc171e34232d991e2b444689.zip |
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@gmail.com>
-rw-r--r-- | 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 1ee75048ba..b1ac4ff777 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++/" |