gsgignond: fix race condition during compilation 64/30864/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 26 Nov 2014 08:21:11 +0000 (09:21 +0100)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Thu, 11 Dec 2014 17:01:08 +0000 (09:01 -0800)
Now building with option "-j1" to prevent a race condition during compilation.

Error was:
  "gsignond-dbus-auth-service-gen.h: No such file or directory"

Change-Id: I48e29e357d04d387e84eea40cc8d62f861f87d1c
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
meta-tizen-common-base/recipes-security/gsignond/gsignond-extraconf.inc

index 1f3b348..b2da5d8 100644 (file)
@@ -3,6 +3,17 @@ inherit useradd
 USERADD_PACKAGES = "${PN}"
 GROUPADD_PARAM_${PN} += "--system gsignond"
 
+do_compile() {
+    cd ${S}
+    LANG=C
+    export LANG
+    unset DISPLAY
+    LD_AS_NEEDED=1; export LD_AS_NEEDED ;
+
+    autotools_do_configure
+    oe_runmake -j1
+}
+
 pkg_postinst_${PN}() {
     #!/bin/sh -e