diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-04-09 18:56:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-30 11:37:23 +0100 |
commit | 9ce94ea4a45b5aaeecb99c0872862b90b3d78977 (patch) | |
tree | e1e521fe91aa1e2a9d2a7680e7fe3137d821f6f9 /meta/recipes-devtools/gcc/gcc-configure-runtime.inc | |
parent | f7337ee8c409761b569dab06e88d530f24b367d5 (diff) | |
download | poky-9ce94ea4a45b5aaeecb99c0872862b90b3d78977.tar.gz |
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
(From OE-Core rev: eee3658366e1ae9d3e429b3d3c968938d8d0f00e)
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/gcc-configure-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-runtime.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc index d2e4ab334b..095d6c16d2 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc | |||
@@ -3,7 +3,6 @@ require gcc-configure-common.inc | |||
3 | CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}" | 3 | CXXFLAGS := "${@oe_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}" |
4 | 4 | ||
5 | EXTRA_OECONF_PATHS = " \ | 5 | EXTRA_OECONF_PATHS = " \ |
6 | --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \ | ||
7 | --with-gxx-include-dir=${includedir}/c++/ \ | 6 | --with-gxx-include-dir=${includedir}/c++/ \ |
8 | --with-sysroot=${STAGING_DIR_TARGET} \ | 7 | --with-sysroot=${STAGING_DIR_TARGET} \ |
9 | --with-build-sysroot=${STAGING_DIR_TARGET}" | 8 | --with-build-sysroot=${STAGING_DIR_TARGET}" |