package/libsvgtiny: disable parallel build
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 11 Nov 2019 09:25:08 +0000 (10:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 11 Nov 2019 15:25:50 +0000 (16:25 +0100)
Build can sometimes fails on:

src/svgtiny.c:21:10: fatal error: autogenerated_colors.c: No such file or directory
 #include "autogenerated_colors.c"
          ^~~~~~~~~~~~~~~~~~~~~~~~

because svgtiny.c does not properly depends on autogenerated_colors.c
that is built by gperf. So, just disable parallel build instead of
trying to fix this issue especially because libsvgtiny uses the netsurf
buildsystem

Fixes:
 - http://autobuild.buildroot.org/results/48e7a7f7c72634d59cca817778d31661bfe8e72f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libsvgtiny/libsvgtiny.mk

index febd3fcec8a78d94d6c4e483b1fe68293dc153b2..fe7dc0a6d24f1c0eb75744d811b45aaf9140601d 100644 (file)
@@ -12,6 +12,8 @@ LIBSVGTINY_DEPENDENCIES = \
        libxml2 host-gperf host-pkgconf host-netsurf-buildsystem
 LIBSVGTINY_LICENSE = MIT
 LIBSVGTINY_LICENSE_FILES = README
+# Package does not build in parallel due to improper make rules
+LIBSVGTINY_MAKE = $(MAKE1)
 
 # The libsvgtiny build system cannot build both the shared and static
 # libraries. So when the Buildroot configuration requests to build