diff options
-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 | 4 |
3 files changed, 4 insertions, 2 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 98b9556c70..8dedfe50b9 100644 --- a/packages/glibc/eglibc_svn.bb +++ b/packages/glibc/eglibc_svn.bb @@ -46,7 +46,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --without-selinux \ ${GLIBC_EXTRA_OECONF}" -EXTRA_OECONF += "${@get_glibc_fpu_setting(bb, d)}" +EXTRA_OECONF += "${@get_eglibc_fpu_setting(bb, d)}" do_configure_prepend() { if test -d ${WORKDIR}/trunk/ports ; then @@ -64,7 +64,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 } |