From 71c4d9174e889777e320d953b8c13a45af00dd19 Mon Sep 17 00:00:00 2001 From: Richard Townsend Date: Tue, 24 Mar 2020 18:57:08 +0000 Subject: [PATCH] build,win: add support for MSVC cross-compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixes cases in icutools where commands were issued without .exe * Changes to build scripts * Add /fp:strict flag so that MSVC's floating point behaves correctly * Enables marmasm PR-URL: https://github.com/nodejs/node/pull/32867 Reviewed-By: Christian Clauss Reviewed-By: João Reis --- tools/v8_gypfiles/v8.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 9a2378a880118c..e8263663114c0d 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -779,6 +779,14 @@ ], }], ], + 'conditions': [ + ['OS=="win"', { + 'sources': [ + "<(V8_ROOT)/src/diagnostics/unwinding-info-win64.cc", + "<(V8_ROOT)/src/diagnostics/unwinding-info-win64.h" + ], + }], + ], }], ['v8_target_arch=="mips" or v8_target_arch=="mipsel"', { 'sources': [ ### gcmole(arch:mipsel) ###