summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index 0bb1d32..d1c8693 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -95,8 +95,6 @@ root_env = Environment(
'__env__, RDirs, TARGET, SOURCE)}'),
)
-root_env.Append(LIBPATH = ['$V8_DIR'])
-
# Declare a bit to gate solution generation.
# The actual generation must be at the end.
@@ -135,6 +133,8 @@ elif root_env['PLATFORM'] in ['linux', 'linux2', 'posix']:
# TODO(evanm): this is Linux-specific, not posix.
# Parse /proc/cpuinfo for processor count.
cpus = len([l for l in open('/proc/cpuinfo') if l.startswith('processor\t')])
+else:
+ cpus = 1
SetOption('num_jobs', cpus + 1)