summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2015-04-29 22:39:56 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2015-04-29 22:39:56 +0300
commite955e6cae2fd48ef840d7a765920b9309c6c5388 (patch)
tree3b65c76384d0e91fbea098238c8c74a7b741761b /Makefile
parent5edb52568b8b7a9042ba09a85796d3f560cd1d30 (diff)
parent8f813a4ef1164107cf2cbd006abe3b0ffda99c90 (diff)
downloadqtlocation-mapboxgl-e955e6cae2fd48ef840d7a765920b9309c6c5388.tar.gz
Merge pull request #1371 from mapbox/fix_android_build_on_linux
Get the number of CPUs correctly on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5bebd04ace..3a2bd75c5f 100644
--- a/Makefile
+++ b/Makefile
@@ -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