summaryrefslogtreecommitdiff
path: root/node.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'node.gypi')
-rw-r--r--node.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/node.gypi b/node.gypi
index 55ba20e2ec..0b27e6ad2c 100644
--- a/node.gypi
+++ b/node.gypi
@@ -292,6 +292,12 @@
'ldflags': [ '-Wl,-z,relro',
'-Wl,-z,now' ]
}],
+ [ 'OS=="linux" and target_arch=="x64" and node_use_large_pages=="true"', {
+ 'ldflags': [
+ '-Wl,-T',
+ '<!(realpath src/large_pages/ld.implicit.script)',
+ ]
+ }],
[ 'node_use_openssl=="true"', {
'defines': [ 'HAVE_OPENSSL=1' ],
'conditions': [