diff options
| -rw-r--r-- | meta-oe/recipes-support/daemontools/daemontools_0.76.bb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb index 3738b080ff..1ef6a07d0d 100644 --- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb +++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb | |||
| @@ -33,7 +33,13 @@ UPSTREAM_CHECK_URI = "http://cr.yp.to/daemontools/install.html" | |||
| 33 | 33 | ||
| 34 | S = "${WORKDIR}/admin/${BP}" | 34 | S = "${WORKDIR}/admin/${BP}" |
| 35 | 35 | ||
| 36 | # http://errors.yoctoproject.org/Errors/Details/766886/ | ||
| 37 | # pathexec_run.c:19:17: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 38 | # pathexec_run.c:19:22: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 39 | # pathexec_run.c:36:18: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 40 | # pathexec_run.c:36:23: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 36 | do_compile() { | 41 | do_compile() { |
| 42 | export CC="$CC -Wno-error=incompatible-pointer-types" | ||
| 37 | ./package/compile | 43 | ./package/compile |
| 38 | } | 44 | } |
| 39 | 45 | ||
| @@ -48,10 +54,3 @@ do_install:append:class-target() { | |||
| 48 | inherit update-alternatives | 54 | inherit update-alternatives |
| 49 | ALTERNATIVE_PRIORITY = "100" | 55 | ALTERNATIVE_PRIORITY = "100" |
| 50 | ALTERNATIVE:${PN} = "svc svok" | 56 | ALTERNATIVE:${PN} = "svc svok" |
| 51 | |||
| 52 | # http://errors.yoctoproject.org/Errors/Details/766886/ | ||
| 53 | # pathexec_run.c:19:17: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 54 | # pathexec_run.c:19:22: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 55 | # pathexec_run.c:36:18: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 56 | # pathexec_run.c:36:23: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types] | ||
| 57 | CC += "-Wno-error=incompatible-pointer-types" | ||
