Fix the CPU count on Linux.

This commit is contained in:
Chris Johns
2013-04-02 17:54:21 +11:00
parent 2b069dc82a
commit fbc946c0b1

View File

@@ -43,7 +43,7 @@ def load():
if count > cpus: if count > cpus:
cpus = int(count) cpus = int(count)
if cpus > 0: if cpus > 0:
smp_mflags = '-j%d' % (cpus) smp_mflags = '-j%d' % (cpus + 1)
except: except:
pass pass
if uname[4].startswith('arm'): if uname[4].startswith('arm'):