Skip to content

Commit

Permalink
Don't abort build if /proc isn't mounted on BSDs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed Feb 23, 2015
1 parent 1b8e682 commit cd1078b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Expand Up @@ -88,7 +88,7 @@ if GetOption("fullstatic"):
env["FULL_STATIC_BUILD"] = True

# Auto select the number of processors
if os.path.exists('/proc'):
if os.path.exists('/proc/cpuinfo'):
cpus = len([l for l in open('/proc/cpuinfo') if l.startswith('processor\t')])
else:
cpus = 1
Expand Down

0 comments on commit cd1078b

Please sign in to comment.