From: Yuanjie Huang <yuanjie.hu...@windriver.com> Source file plural.c might be updated with bison from plural.y, touch it before applying patches so that this file is consistent across builds.
Signed-off-by: Yuanjie Huang <yuanjie.hu...@windriver.com> --- meta/recipes-core/glibc/glibc.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc index e85c704..5225dfc 100644 --- a/meta/recipes-core/glibc/glibc.inc +++ b/meta/recipes-core/glibc/glibc.inc @@ -78,3 +78,10 @@ do_configure_prepend() { } GLIBC_ADDONS ?= "nptl,libidn" + +# Ensure that plural.c is newer than its Bison source plural.y, +# unless the latter is patched. +do_unpack_workaround() { + touch ${S}/intl/plural.c +} +addtask unpack_workaround after do_unpack before do_patch -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core