summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-06-20 22:23:11 +0100
committerMichaƫl Zasso <targos@protonmail.com>2019-07-20 11:13:04 +0200
commit0b7fecaf97d9067dd8bd14dba0ba159ca8cf56a2 (patch)
treeb11268eb4e3289eadaad0be9ecc4726fa6f9cc9d /node.gyp
parent312f94916cbcc97977ab0d074b639e85a8e7d898 (diff)
downloadandroid-node-v8-0b7fecaf97d9067dd8bd14dba0ba159ca8cf56a2.tar.gz
android-node-v8-0b7fecaf97d9067dd8bd14dba0ba159ca8cf56a2.tar.bz2
android-node-v8-0b7fecaf97d9067dd8bd14dba0ba159ca8cf56a2.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.