From 00d9499b144718f3b1f342b23a315d479fdd0575 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 12 Jul 2020 05:52:46 +0100 Subject: [PATCH] src: large pages support in illumos/solaris systems Making sure using apis supported by both. PR-URL: https://github.com/nodejs/node/pull/34320 Reviewed-By: Franziska Hinkelmann Reviewed-By: James M Snell Reviewed-By: Gabriel Schulhof Reviewed-By: Denys Otrishko --- node.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node.gyp b/node.gyp index 86b6fceff7e1b1..f4cb37b70f49aa 100644 --- a/node.gyp +++ b/node.gyp @@ -334,7 +334,7 @@ 'target_name': 'node_text_start', 'type': 'none', 'conditions': [ - [ 'OS in "linux freebsd" and ' + [ 'OS in "linux freebsd solaris" and ' 'target_arch=="x64"', { 'type': 'static_library', 'sources': [ @@ -902,7 +902,7 @@ 'src/tls_wrap.h' ], }], - [ 'OS in "linux freebsd mac" and ' + [ 'OS in "linux freebsd mac solaris" and ' 'target_arch=="x64" and ' 'node_target_type=="executable"', { 'defines': [ 'NODE_ENABLE_LARGE_CODE_PAGES=1' ],