Fix NUMCPUS variable to allow parallel builds

This commit is contained in:
Gautier Pelloux-Prayer 2014-11-14 09:15:26 +01:00
parent b4a81b9122
commit 73212f188a

View file

@ -17,7 +17,7 @@ X86_SYSROOT=$(shell find "${NDK_PATH}" -name arch-x86 -print | \
print $$0 " " b[2]}' | \ print $$0 " " b[2]}' | \
sort -g -k 2 | \ sort -g -k 2 | \
awk '{ print $$1 }' | tail -1) awk '{ print $$1 }' | tail -1)
NUMCPUS=1 NUMCPUS=$(shell grep -c '^processor' /proc/cpuinfo 2>/dev/null || echo "4" )
TOPDIR=$(shell pwd) TOPDIR=$(shell pwd)
LIBLINPHONE_VERSION=$(shell cd submodules/linphone && git describe --always) LIBLINPHONE_VERSION=$(shell cd submodules/linphone && git describe --always)
LINPHONE_ANDROID_DEBUG_VERSION=$(shell git describe --always) LINPHONE_ANDROID_DEBUG_VERSION=$(shell git describe --always)