summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-09 18:56:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-26 14:48:48 +0100
commiteee3658366e1ae9d3e429b3d3c968938d8d0f00e (patch)
treeddfcea4674b38e4c694f4fa7e4149441bbcd214e /meta/recipes-devtools/gcc/gcc-configure-sdk.inc
parent7cf9f0597648c0bdaa080976d74acfbfc4c8443d (diff)
downloadopenembedded-core-eee3658366e1ae9d3e429b3d3c968938d8d0f00e.tar.gz
openembedded-core-eee3658366e1ae9d3e429b3d3c968938d8d0f00e.tar.bz2
openembedded-core-eee3658366e1ae9d3e429b3d3c968938d8d0f00e.tar.xz
openembedded-core-eee3658366e1ae9d3e429b3d3c968938d8d0f00e.zip
gcc-configure: Render --with-local-prefix harmless
this option by default points to /usr/local no matter what so we cant let it sit on sidelines otherwise it will access host machine's /usr/local which may not be desired. So disable this option. This also helps in making gcc's shared state more consistent Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-configure-sdk.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-sdk.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
index 6aac0ad88..90e20f56c 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
+++ b/meta/recipes-devtools/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-uclibceabi", "no", "", d )}'
-EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_exec_prefix} \
- --with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_includedir}/c++ \
+EXTRA_OECONF_PATHS = "--with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_includedir}/c++ \
--with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
--with-build-sysroot=${STAGING_DIR_TARGET}"