896455cff7
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>
25 lines
874 B
Makefile
25 lines
874 B
Makefile
################################################################################
|
|
#
|
|
# riemann-c-client
|
|
#
|
|
################################################################################
|
|
|
|
RIEMANN_C_CLIENT_VERSION = 1.9.1
|
|
RIEMANN_C_CLIENT_SOURCE = riemann-c-client-$(RIEMANN_C_CLIENT_VERSION).tar.xz
|
|
RIEMANN_C_CLIENT_SITE = https://github.com/algernon/riemann-c-client/releases/download/riemann-c-client-$(RIEMANN_C_CLIENT_VERSION)
|
|
RIEMANN_C_CLIENT_LICENSE = LGPLv3+
|
|
RIEMANN_C_CLIENT_LICENSE_FILES = LICENSE
|
|
RIEMANN_C_CLIENT_INSTALL_STAGING = YES
|
|
RIEMANN_C_CLIENT_MAKE = $(MAKE1)
|
|
RIEMANN_C_CLIENT_DEPENDENCIES = \
|
|
host-pkgconf protobuf-c \
|
|
$(if $(BR2_PACKAGE_GNUTLS),gnutls) \
|
|
$(if $(BR2_PACKAGE_JSON_C),json-c)
|
|
|
|
ifeq ($(BR2_bfin),y)
|
|
# ld symbol versioning not working on bfin
|
|
RIEMANN_C_CLIENT_CONF_ENV += ac_cv_prog_ld_version_script=no
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|