Merge pull request #1371 from mapbox/fix_android_build_on_linux

Get the number of CPUs correctly on Linux
This commit is contained in:
Thiago Marcos P. Santos
2015-04-29 22:39:56 +03:00

View File

@@ -11,7 +11,7 @@ endif
ifeq ($(shell uname -s), Linux)
HOST = linux
JOBS ?= $(shell sysctl -n hw.ncpu)
JOBS ?= $(shell grep --count processor /proc/cpuinfo)
endif
JOBS ?= 1