Signed-off-by: Andreas Müller <[email protected]>
---
 meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb 
b/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb
index dd43811..afd3a7a 100644
--- a/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb
+++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb
@@ -81,6 +81,23 @@ do_configure_append() {
        done
 }
 
+# dirty hack for gnu make 3.82 race condition
+do_compile() {
+    if [ x"$MAKE" = x ]; then MAKE=make; fi
+    bbnote make ${PARALLEL_MAKE} "$@"
+    for error_count in 1 2 3; do
+        bbnote "Number of trials: $error_count"
+        exit_code=0
+        make ${PARALLEL_MAKE} "$@" || exit_code=1
+        if [ $exit_code = 0 ]; then
+            break
+        fi
+    done
+    if [ ! $exit_code = 0 ]; then
+        die "oe_runmake failed"
+    fi
+}
+
 do_install_append() {
        rmdir ${D}${libexecdir}
 }
-- 
1.7.6.5


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to