[oe-commits] Khem Raj : gcc-configure-target.inc: Filter out --with-sysroot
git version control
git at git.openembedded.org
Wed Oct 20 04:12:01 UTC 2010
Module: openembedded.git
Branch: master
Commit: 565b3f4965277f3a893b6417940ac59d78a97fb0
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=565b3f4965277f3a893b6417940ac59d78a97fb0
Author: Khem Raj <raj.khem at gmail.com>
Date: Tue Oct 19 12:12:07 2010 -0700
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 at gmail.com>
---
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 03d7a6b..24b9a16 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)}"
More information about the Openembedded-commits
mailing list