From 2b3acc44f0a78c97774f611d165fe876d7634f39 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 9d4ac04ebf9acc..dd9bddd08ba2da 100644 --- a/node.gyp +++ b/node.gyp @@ -352,7 +352,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': [ @@ -964,7 +964,7 @@ 'src/node_crypto.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' ],