summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-configure-sdk.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2008-11-21 19:01:06 -0800
committerKhem Raj <raj.khem@gmail.com>2008-11-21 19:01:06 -0800
commitbe1ce43d409b63fc52eabc93d5dce0ea325ed1f9 (patch)
treea68c8a866d3eca6acc91e5399ced527c9c97d66c /packages/gcc/gcc-configure-sdk.inc
parent7a8bd365fb488ff067beacbbb4e6fe96ef45f079 (diff)
gcc-configure-sdk.inc: Change gxx-include path being passed
* Make gxx-include paths relative to sysroot and not build time sysroot.
Diffstat (limited to 'packages/gcc/gcc-configure-sdk.inc')
-rw-r--r--packages/gcc/gcc-configure-sdk.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/gcc/gcc-configure-sdk.inc b/packages/gcc/gcc-configure-sdk.inc
index faa183f8e4..75080302ff 100644
--- a/packages/gcc/gcc-configure-sdk.inc
+++ b/packages/gcc/gcc-configure-sdk.inc
@@ -4,8 +4,7 @@ require gcc-configure-common.inc
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}'
-EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
- --with-gxx-include-dir=${STAGING_DIR_TARGET}/${layout_includedir}/c++ \
+EXTRA_OECONF_PATHS = "--with-gxx-include-dir=${prefix}/${TARGET_SYS}/${layout_includedir}/c++ \
--with-sysroot=${prefix}/${TARGET_SYS} \
--with-build-time-tools=${CROSS_DIR}/${TARGET_SYS}/bin \
--with-build-sysroot=${STAGING_DIR_TARGET}"