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-cross-intermediate.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-cross-intermediate.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index c356576cd9..c940e549c5 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |||
@@ -14,8 +14,7 @@ CROSS_TARGET_SYS_DIR_append = ".${PN}" | |||
14 | # Glibc won't compile with gold, and building glibc is the whole point of | 14 | # Glibc won't compile with gold, and building glibc is the whole point of |
15 | # this recipe. So we select ld.bfd explicitly here if gold is the distro's | 15 | # this recipe. So we select ld.bfd explicitly here if gold is the distro's |
16 | # preferred linker. | 16 | # preferred linker. |
17 | EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | 17 | EXTRA_OECONF = "--enable-shared \ |
18 | --enable-shared \ | ||
19 | --disable-multilib \ | 18 | --disable-multilib \ |
20 | --disable-threads \ | 19 | --disable-threads \ |
21 | --enable-languages=c \ | 20 | --enable-languages=c \ |