Skip to content
Snippets Groups Projects
Commit d731e774 authored by Sean McGovern's avatar Sean McGovern Committed by Rafaël Carré
Browse files

tools: set CPUS correctly on Solaris


Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 705ee955
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,9 @@ case `uname` in
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
;;
SunOS)
CPUS=`/usr/bin/kstat -p :::state | grep 'on-line$' | wc -l | sed 's/ //g'`
;;
*)
CPUS=1 # default
;;
......
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