Commit f0f8fd35 authored by Martin Storsjö's avatar Martin Storsjö Committed by Rafaël Carré

Check for the number of jobs to run on OS X as well

Signed-off-by: Rafaël Carré's avatarRafaël Carré <funman@videolan.org>
parent 55dcea58
......@@ -182,6 +182,9 @@ MAKEFLAGS=
if which nproc >/dev/null
then
MAKEFLAGS=-j`nproc`
elif which sysctl >/dev/null
then
MAKEFLAGS=-j`sysctl -n machdep.cpu.thread_count`
fi
echo "EXTRA_CFLAGS= -g ${EXTRA_CFLAGS}" >> config.mak
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment