diff options
author | David Carlier <devnexen@gmail.com> | 2019-06-20 22:23:11 +0100 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-07-20 11:13:04 +0200 |
commit | 0b7fecaf97d9067dd8bd14dba0ba159ca8cf56a2 (patch) | |
tree | b11268eb4e3289eadaad0be9ecc4726fa6f9cc9d /node.gyp | |
parent | 312f94916cbcc97977ab0d074b639e85a8e7d898 (diff) | |
download | android-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.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |