Commit 1f4001b6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

extras/tools: fix compilation on multiple cores on Darwin

parent ee7e7136
......@@ -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
;;
......
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