summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-04-07 15:02:04 -0400
committerRefael Ackermann <refack@gmail.com>2019-04-16 18:25:04 -0400
commit14df42fd008ef8e95d60d0d70084943d180bab91 (patch)
treeb536d1a90d19190599970fd2659345248885d35f /vcbuild.bat
parent5ac0308af90c2ab9842682d06a720cfab11eb661 (diff)
downloadandroid-node-v8-14df42fd008ef8e95d60d0d70084943d180bab91.tar.gz
android-node-v8-14df42fd008ef8e95d60d0d70084943d180bab91.tar.bz2
android-node-v8-14df42fd008ef8e95d60d0d70084943d180bab91.zip
build: run `mkcodecache` as an action
* fix test-code-cache (for the common cases) * deprecate `configure --code-cache-path` PR-URL: https://github.com/nodejs/node/pull/27161 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 73405b46ed..acbf42e538 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -190,6 +190,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 openssl_no_asm set configure_flags=%configure_flags% --openssl-no-asm
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
if not exist "%~dp0deps\icu" goto no-depsicu
if "%target%"=="Clean" echo deleting %~dp0deps\icu