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:57:22 +0100 |
commit | e7d0a81a8fedd3a7c4b0e27eeb860ca883611b92 (patch) | |
tree | 2ad688537df82cf0ee3f4ac6d21dd622a5e5a92f /meta/recipes-devtools/gcc | |
parent | 9f47c0f62e7db5a0f3f5d09d5a02f128369db9e0 (diff) | |
download | poky-e7d0a81a8fedd3a7c4b0e27eeb860ca883611b92.tar.gz |
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]
(From OE-Core rev: d132bcc41d9956f8cc171e34232d991e2b444689)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-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 @@ | |||
1 | require gcc-configure-common.inc | 1 | require gcc-configure-common.inc |
2 | 2 | ||
3 | EXTRA_OECONF_PATHS = " \ | 3 | EXTRA_OECONF_PATHS = " \ |
4 | --with-sysroot=\ | ||
5 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | ||
4 | --with-gxx-include-dir=${includedir}/c++/" | 6 | --with-gxx-include-dir=${includedir}/c++/" |