Dump log error if cpus count could not be retrieved (default: 4)

This commit is contained in:
Gautier Pelloux-Prayer 2014-08-19 11:55:30 +02:00
parent 393439c721
commit bbf3094414

View file

@ -18,7 +18,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=$(shell grep -c '^processor' /proc/cpuinfo || echo "4" )
NUMCPUS=$(shell grep -c '^processor' /proc/cpuinfo 2>/dev/null || echo "4" )
TOPDIR=$(shell pwd)
LINPHONE_VERSION=$(shell cd submodules/linphone && git describe --always)
LINPHONE_ANDROID_DEBUG_VERSION=$(shell git describe --always)