summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorAnna Henningsen <anna.henningsen@mongodb.com>2022-12-21 20:16:56 +0100
committerGitHub <noreply@github.com>2022-12-21 19:16:56 +0000
commiteb5895ae3ebbff2542b564276b792d2d705d4f21 (patch)
treee06dfdef659be75587d896f64a5cf25312ee2934 /vcbuild.bat
parent01323d50c4b24cf730a651d06ba20633905ecbed (diff)
downloadnode-new-eb5895ae3ebbff2542b564276b792d2d705d4f21.tar.gz
build: add option to disable shared readonly heap
PR-URL: https://github.com/nodejs/node/pull/45887 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 60c26a9880..e2c2e06445 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -68,6 +68,7 @@ set link_module=
set no_cctest=
set cctest=
set openssl_no_asm=
+set no_shared_roheap=
set doc=
set extra_msbuild_args=
set exit_code=0
@@ -146,6 +147,7 @@ if /i "%1"=="link-module" set "link_module= --link-module=%2%link_module%"&got
if /i "%1"=="no-cctest" set no_cctest=1&goto arg-ok
if /i "%1"=="cctest" set cctest=1&goto arg-ok
if /i "%1"=="openssl-no-asm" set openssl_no_asm=1&goto arg-ok
+if /i "%1"=="no-shared-roheap" set no_shared_roheap=1&goto arg-ok
if /i "%1"=="doc" set doc=1&goto arg-ok
if /i "%1"=="binlog" set extra_msbuild_args=/binaryLogger:%config%\node.binlog&goto arg-ok
@@ -202,6 +204,7 @@ if defined config_flags set configure_flags=%configure_flags% %config_flags%
if defined target_arch set configure_flags=%configure_flags% --dest-cpu=%target_arch%
if defined debug_nghttp2 set configure_flags=%configure_flags% --debug-nghttp2
if defined openssl_no_asm set configure_flags=%configure_flags% --openssl-no-asm
+if defined no_shared_roheap set configure_flags=%configure_flags% --disable-shared-readonly-heap
if defined DEBUG_HELPER set configure_flags=%configure_flags% --verbose
if "%target_arch%"=="x86" if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set configure_flags=%configure_flags% --no-cross-compiling