Skip to content
Snippets Groups Projects
Commit 1f4001b6 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

extras/tools: fix compilation on multiple cores on Darwin

parent ee7e7136
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ case `uname` in
CPUS=`grep -c ^processor /proc/cpuinfo`
;;
Darwin)
CPUS=`sysctl hw.ncpu|cut -d: -f2`
CPUS=`sysctl hw.ncpu|cut -d" " -f2`
gcc-4.2 --version >/dev/null 2>&1 && CC=CC=gcc-4.2
g++-4.2 --version >/dev/null 2>&1 && CXX=CXX=g++-4.2
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment