summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-06-20 22:23:11 +0100
committerRich Trott <rtrott@gmail.com>2019-07-15 19:30:07 -0700
commita1cb14a4dc69ac2ae9eef0c4620681fada51d9f3 (patch)
tree8b868a32068f21ccdf0462ffee9a2893b8b8981d /node.gyp
parent2a1503774469f941a5df90ee5bfa97130492a445 (diff)
downloadandroid-node-v8-a1cb14a4dc69ac2ae9eef0c4620681fada51d9f3.tar.gz
android-node-v8-a1cb14a4dc69ac2ae9eef0c4620681fada51d9f3.tar.bz2
android-node-v8-a1cb14a4dc69ac2ae9eef0c4620681fada51d9f3.zip
src: large pages option: FreeBSD support proposal
Enabling on amd64 and as Linux, are 2MB large. The ELF section linkage script is compatible only with GNU ld. PR-URL: https://github.com/nodejs/node/pull/28331 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 3f37cf45d6..ed9de85f99 100644
--- a/node.gyp
+++ b/node.gyp
@@ -811,7 +811,7 @@
}],
],
}],
- [ 'node_use_large_pages=="true" and OS=="linux"', {
+ [ 'node_use_large_pages=="true" and OS in "linux freebsd"', {
'defines': [ 'NODE_ENABLE_LARGE_CODE_PAGES=1' ],
# The current implementation of Large Pages is under Linux.
# Other implementations are possible but not currently supported.