build: Add core count detection for Linux on non-x86 targets.

ck_pring
Samy Al Bahra 12 years ago
parent 9bb1e576db
commit 9d1540e586

2
configure vendored

@ -224,7 +224,7 @@ case "$SYSTEM" in
SYSTEM=solaris
;;
"Linux"|"uClinux")
DCORES=`grep '^processor.*:.*' /proc/cpuinfo|wc -l`
DCORES=`egrep '(^CPU|processor.*:.*)' /proc/cpuinfo|wc -l`
SYSTEM=linux
;;
"FreeBSD"|"GNU/kFreeBSD")

Loading…
Cancel
Save