diff options
author | David Carlier <devnexen@gmail.com> | 2019-06-20 22:23:11 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-07-15 19:30:07 -0700 |
commit | a1cb14a4dc69ac2ae9eef0c4620681fada51d9f3 (patch) | |
tree | 8b868a32068f21ccdf0462ffee9a2893b8b8981d /node.gyp | |
parent | 2a1503774469f941a5df90ee5bfa97130492a445 (diff) | |
download | android-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.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. |