Skip to content

Commit ea061d6

Browse files
committed
Update ab.
1 parent 7db49ae commit ea061d6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build/ab.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ $(PKG_CONFIG_HASHES) $(HOST_PKG_CONFIG_HASHES) &:
8787

8888
include $(OBJ)/build.mk
8989

90-
MAKEFLAGS += -r -j$(shell nproc)
90+
ifeq ($(OSX),yes)
91+
MAKEFLAGS += -r -j$(shell sysctl -n hw.logicalcpu)
92+
else
93+
MAKEFLAGS += -r -j$(shell nproc)
94+
endif
95+
9196
.DELETE_ON_ERROR:
9297

9398
.PHONY: update-ab

0 commit comments

Comments
 (0)