Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit e955e6c

Browse files
committed
Merge pull request #1371 from mapbox/fix_android_build_on_linux
Get the number of CPUs correctly on Linux
2 parents 5edb525 + 8f813a4 commit e955e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111

1212
ifeq ($(shell uname -s), Linux)
1313
HOST = linux
14-
JOBS ?= $(shell sysctl -n hw.ncpu)
14+
JOBS ?= $(shell grep --count processor /proc/cpuinfo)
1515
endif
1616

1717
JOBS ?= 1

0 commit comments

Comments
 (0)