From 9ce94ea4a45b5aaeecb99c0872862b90b3d78977 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 9 Apr 2012 18:56:59 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc') 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}" # Glibc won't compile with gold, and building glibc is the whole point of # this recipe. So we select ld.bfd explicitly here if gold is the distro's # preferred linker. -EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ - --enable-shared \ +EXTRA_OECONF = "--enable-shared \ --disable-multilib \ --disable-threads \ --enable-languages=c \ -- cgit v1.2.3-54-g00ecf