disable v8_inspector for node 6
This commit is contained in:
parent
07d7c0663f
commit
72f64d3c85
@ -53,6 +53,13 @@ async function compileOnUnix (nodeVersion, targetArch) {
|
||||
const cpu = { x86: 'ia32', x64: 'x64',
|
||||
armv6: 'arm', armv7: 'arm' }[targetArch];
|
||||
args.push('--dest-cpu', cpu);
|
||||
// first of all v8_inspector introduces the use
|
||||
// of `prime_rehash_policy` symbol that requires
|
||||
// GLIBCXX_3.4.18 on some systems
|
||||
// also we don't support any kind of debugging
|
||||
// against packaged apps, hence v8_inspector is useless
|
||||
if (/^v?6/.test(nodeVersion)) args.push('--without-inspector');
|
||||
// TODO same for node 7 and up?
|
||||
await spawn('./configure', args, { cwd: nodePath });
|
||||
const make = process.platform === 'freebsd' ? 'gmake' : 'make';
|
||||
const promise = spawn(make, [], { cwd: nodePath });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user