summaryrefslogtreecommitdiff
path: root/node.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'node.gypi')
-rw-r--r--node.gypi14
1 files changed, 13 insertions, 1 deletions
diff --git a/node.gypi b/node.gypi
index 5fd1d8e1d4..df10c97280 100644
--- a/node.gypi
+++ b/node.gypi
@@ -295,12 +295,24 @@
'ldflags': [ '-Wl,-z,relro',
'-Wl,-z,now' ]
}],
- [ 'OS=="linux" and target_arch=="x64" and node_use_large_pages=="true"', {
+ [ 'OS=="linux" and '
+ 'target_arch=="x64" and '
+ 'node_use_large_pages=="true" and '
+ 'node_use_large_pages_script_lld=="false"', {
'ldflags': [
'-Wl,-T',
'<!(realpath src/large_pages/ld.implicit.script)',
]
}],
+ [ 'OS=="linux" and '
+ 'target_arch=="x64" and '
+ 'node_use_large_pages=="true" and '
+ 'node_use_large_pages_script_lld=="true"', {
+ 'ldflags': [
+ '-Wl,-T',
+ '<!(realpath src/large_pages/ld.implicit.script.lld)',
+ ]
+ }],
[ 'node_use_openssl=="true"', {
'defines': [ 'HAVE_OPENSSL=1' ],
'conditions': [