aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-10-19 12:12:07 -0700
committerKhem Raj <raj.khem@gmail.com>2010-10-19 21:08:40 -0700
commit565b3f4965277f3a893b6417940ac59d78a97fb0 (patch)
tree75be1bd8bc6a1d80c75304a1bd5af1d11a031ca5 /recipes/gcc
parent48d7b34698dbebaf55e1ccf07d78c065f99ea46e (diff)
downloadopenembedded-565b3f4965277f3a893b6417940ac59d78a97fb0.tar.gz
gcc-configure-target.inc: Filter out --with-sysroot
* For target gcc we dont need to specify --with-sysroot even with libtool 2.4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc')
-rw-r--r--recipes/gcc/gcc-configure-target.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-configure-target.inc b/recipes/gcc/gcc-configure-target.inc
index 03d7a6bddd..24b9a16f84 100644
--- a/recipes/gcc/gcc-configure-target.inc
+++ b/recipes/gcc/gcc-configure-target.inc
@@ -3,4 +3,6 @@ require gcc-configure-common.inc
EXTRA_OECONF_PATHS = " \
--with-local-prefix=${prefix}/local \
--with-gxx-include-dir=${includedir}/c++/${BINV} \
- --with-build-sysroot=${STAGING_DIR_HOST}"
+ --with-build-sysroot=${STAGING_DIR_HOST} \
+ "
+CONFIGUREOPTS := "${@oe_filter_out('--with-sysroot', '${CONFIGUREOPTS}', d)}"