gcc-configure-target.inc: Filter out --with-sysroot
authorKhem Raj <raj.khem@gmail.com>
Tue, 19 Oct 2010 19:12:07 +0000 (12:12 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 20 Oct 2010 04:08:40 +0000 (21:08 -0700)
* For target gcc we dont need to specify --with-sysroot
  even with libtool 2.4

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/gcc/gcc-configure-target.inc

index 03d7a6b..24b9a16 100644 (file)
@@ -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)}"