From 73212f188a53f01174ab3d5a58728b28d01838e8 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Fri, 14 Nov 2014 09:15:26 +0100 Subject: [PATCH] Fix NUMCPUS variable to allow parallel builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f003d39c..9d2a24d20 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ X86_SYSROOT=$(shell find "${NDK_PATH}" -name arch-x86 -print | \ print $$0 " " b[2]}' | \ sort -g -k 2 | \ awk '{ print $$1 }' | tail -1) -NUMCPUS=1 +NUMCPUS=$(shell grep -c '^processor' /proc/cpuinfo 2>/dev/null || echo "4" ) TOPDIR=$(shell pwd) LIBLINPHONE_VERSION=$(shell cd submodules/linphone && git describe --always) LINPHONE_ANDROID_DEBUG_VERSION=$(shell git describe --always)