diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-10-19 12:12:07 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-10-19 21:08:40 -0700 |
commit | 565b3f4965277f3a893b6417940ac59d78a97fb0 (patch) | |
tree | 75be1bd8bc6a1d80c75304a1bd5af1d11a031ca5 /recipes/gcc/gcc-configure-target.inc | |
parent | 48d7b34698dbebaf55e1ccf07d78c065f99ea46e (diff) | |
download | openembedded-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/gcc-configure-target.inc')
-rw-r--r-- | recipes/gcc/gcc-configure-target.inc | 4 |
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)}" |