diff options
Diffstat (limited to 'packages/glibc')
-rw-r--r-- | packages/glibc/eglibc-initial_svn.bb | 1 | ||||
-rw-r--r-- | packages/glibc/eglibc-intermediate_svn.bb | 1 | ||||
-rw-r--r-- | packages/glibc/eglibc_svn.bb | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/packages/glibc/eglibc-initial_svn.bb b/packages/glibc/eglibc-initial_svn.bb index 02ba4c6273..ae3f0d2b41 100644 --- a/packages/glibc/eglibc-initial_svn.bb +++ b/packages/glibc/eglibc-initial_svn.bb @@ -10,6 +10,7 @@ do_configure () { sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure chmod +x ${S}/configure unset CFLAGS + find ${S} -name "configure" | xargs touch CC="${BUILD_CC}" CPP="${BUILD_CPP}" LD="${BUILD_LD}" ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ --without-cvs --disable-sanity-checks \ --with-headers=${CROSS_DIR}/${TARGET_SYS}/include \ diff --git a/packages/glibc/eglibc-intermediate_svn.bb b/packages/glibc/eglibc-intermediate_svn.bb index c26f649031..5ecbdb6ed8 100644 --- a/packages/glibc/eglibc-intermediate_svn.bb +++ b/packages/glibc/eglibc-intermediate_svn.bb @@ -6,6 +6,7 @@ do_install () { # gcc uses -Werror which break on a "you have no thumb interwork" _warning_ do_configure_prepend() { + find ${S} -name "configure" | xargs touch sed -i s:-Werror:: ${S}/configure } diff --git a/packages/glibc/eglibc_svn.bb b/packages/glibc/eglibc_svn.bb index b47493f4e0..0b69283681 100644 --- a/packages/glibc/eglibc_svn.bb +++ b/packages/glibc/eglibc_svn.bb @@ -65,7 +65,7 @@ do_configure () { exit 1 fi (cd ${S} && gnu-configize) || die "failure in running gnu-configize" - find ${WORKDIR} -name "configure" | xargs touch + find ${S} -name "configure" | xargs touch CPPFLAGS="" oe_runconf } |