From a1cb14a4dc69ac2ae9eef0c4620681fada51d9f3 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 20 Jun 2019 22:23:11 +0100 Subject: 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 Reviewed-By: James M Snell Reviewed-By: Rich Trott --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.gyp') 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. -- cgit v1.2.3