libmpdclient: pass PARALLEL_JOBS to NINJA_OPTS
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 14 Mar 2018 20:18:36 +0000 (21:18 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 19 Mar 2018 22:23:06 +0000 (23:23 +0100)
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libmpdclient/libmpdclient.mk

index a399516fe376f517b393a3506a1768b18f5c6f24..6ff27241c01410a0c88f15d8f2dfffdd9f085275 100644 (file)
@@ -20,7 +20,7 @@ LIBMPDCLIENT_CONF_OPTS += \
        --buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
        --cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
 
-LIBMPDCLIENT_NINJA_OPTS = $(if $(VERBOSE),-v)
+LIBMPDCLIENT_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
 
 define LIBMPDCLIENT_CONFIGURE_CMDS
        rm -rf $(@D)/build