]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
riemann-c-client: disable parallel make
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 13 Feb 2017 09:07:41 +0000 (10:07 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 13 Feb 2017 17:01:46 +0000 (18:01 +0100)
commit896455cff7ff46dd069c74be39c39aa85cb4e129
tree53a80e8140c12d91fdf218af923d7740cfa2c0db
parentb9141fc88b24b6e0d565f84ee768f3199f31a6cd
riemann-c-client: disable parallel make

Fixes:
http://autobuild.buildroot.net/results/2f8/2f85a2d19232365f7e5fddde6092af9dd74d4518/
http://autobuild.buildroot.net/results/80d/80d83c650c668ee1e87c288bd7a0ce63eab95631/

The build system doesn't specify any dependencies between the generated
header files and the source files including them, causing a race condition:

  GEN      lib/riemann/proto/riemann.pb-c.c
  GEN      lib/riemann/proto/riemann.pb-c.h
  CC       src/src_riemann_client-riemann-client.o
In file included from ./lib/riemann/riemann-client.h:23:0,
                 from src/riemann-client.c:18:
./lib/riemann/attribute.h:21:40: fatal error: riemann/proto/riemann.pb-c.h: No such file or directory

Work around it by forcing non-parallel make.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/riemann-c-client/riemann-c-client.mk